This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//sudo_1.8.23-9.el7/plugins/sudoers/defaults.c | |
struct early_default * | |
is_early_default(const char *name) | |
{ | |
struct early_default *early; | |
debug_decl(is_early_default, SUDOERS_DEBUG_DEFAULTS) | |
for (early = early_defaults; early->idx != -1; early++) { | |
if (strcmp(name, sudo_defs_table[early->idx].name) == 0) | |
debug_return_ptr(early); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//sudo-1.8.30/plugins/sudoers/sudoers.c | |
//Note: sudo_1.8.30-1.ph3 does not have sources for it | |
int | |
sudoers_policy_main(int argc, char * const argv[], int pwflag, char *env_add[], | |
bool verbose, void *closure) | |
{ | |
... | |
/* Find command in path and apply per-command Defaults. */ | |
[A] cmnd_status = set_cmnd(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Si Ge2-RevB 3.3.22-9h 12 14 25 | |
TIME=Tue Mar 10 21:02:36 2020;COMMIT=863d60b | |
uidc | |
Failure Enabling AVS workaround on 88PG870 | |
setting AVS Voltage to 1050 | |
Bank5 Reg2 = 0x0000381E, VoltBin = 0, efuseEscape = 0 | |
AVS efuse Values: | |
Efuse Programed = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct { | |
unsigned int Version; | |
unsigned int Identifier; | |
unsigned int Trusted; | |
unsigned int IssueDate; | |
unsigned int OEMUniqueID; | |
} VERSION_I; | |
typedef struct { | |
unsigned int Reserved[5]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Si Ge2-RevB 3.3.22-9h 12 14 25 | |
TIME=Tue Jun 08 20:32:27 2021;COMMIT=863d60b | |
uidc | |
Failure Enabling AVS workaround on 88PG870 | |
setting AVS Voltage to 1050 | |
Bank5 Reg2 = 0x000038E4, VoltBin = 0, efuseEscape = 0 | |
AVS efuse Values: | |
Efuse Programed = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int __fastcall setup_pjl_commands(int a1) | |
{ | |
// [COLLAPSED LOCAL DECLARATIONS. PRESS KEYPAD CTRL-"+" TO EXPAND] | |
pjl_ctx = create_pjl_ctx(a1); | |
pjl_set_datastall_timeout(pjl_ctx, 5); | |
sub_11981C(); | |
pjlpGrowCommandHandler("UEL", pjl_handle_uel); | |
... | |
pjlpGrowCommandHandler("LDLWELCOMESCREEN", pjl_handle_ldlwelcomescreen); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int __fastcall pjl_handle_ldlwelcomescreen(char *client_cmd) | |
{ | |
// [COLLAPSED LOCAL DECLARATIONS. PRESS KEYPAD CTRL-"+" TO EXPAND] | |
result = pjl_check_args(client_cmd, "FILE", "PJL_STRING_TYPE", "PJL_REQ_PARAMETER", 0); | |
if ( result <= 0 ) | |
return result; | |
filename = (const char *)pjl_parse_arg(client_cmd, "FILE", 0); | |
return pjl_handle_ldlwelcomescreen_internal(filename); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unsigned int __fastcall pjl_handle_ldlwelcomescreen_internal(const char *filename) | |
{ | |
// [COLLAPSED LOCAL DECLARATIONS. PRESS KEYPAD CTRL-"+" TO EXPAND] | |
if ( !filename ) | |
return 0xFFFFFFFF; | |
fd = open(filename, 0xC1, 0777); // open(filename,O_WRONLY|O_CREAT|O_EXCL, 0777) | |
if ( fd == 0xFFFFFFFF ) | |
return 0xFFFFFFFF; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unsigned int __fastcall pjl_ldwelcomescreen_internal2( | |
int flag, | |
int one, | |
int (__fastcall *pjl_getc)(unsigned __int8 *p_char), | |
ssize_t (__fastcall *write_to_file)(int *p_fd, char *data_to_write, size_t len_to_write), | |
int *p_fd) | |
{ | |
// [COLLAPSED LOCAL DECLARATIONS. PRESS KEYPAD CTRL-"+" TO EXPAND] | |
bad_arg = write_to_file == 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unsigned int __fastcall pjl_ldwelcomescreen_internal3( | |
int was_last_write_success, | |
int (__fastcall *pjl_getc)(unsigned __int8 *p_char), | |
ssize_t (__fastcall *write_to_file)(int *p_fd, char *data_to_write, size_t len_to_write), | |
int *p_fd) | |
{ | |
unsigned int current_char_2; // r5 | |
size_t len_to_write; // r4 | |
int len_end_data; // r11 | |
int has_encountered_at_sign; // r6 |