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 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
//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
//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.23-9.el7/plugins/sudoers/sudoers.c | |
int | |
sudoers_policy_main(int argc, char * const argv[], int pwflag, char *env_add[], | |
void *closure) | |
{ | |
... | |
/* Find command in path and apply per-command Defaults. */ | |
[a] cmnd_status = set_cmnd(); | |
if (cmnd_status == NOT_FOUND_ERROR) |
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
//glibc_2.17-322.el7_9/malloc/malloc.c | |
/* Set size/use field */ | |
#define set_head(p, s) ((p)->size = (s)) | |
static void* | |
_int_malloc(mstate av, size_t bytes) | |
{ | |
... | |
use_top: | |
/* |
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
//glibc_2.17-322.el7_9/malloc/malloc.c | |
static void* | |
_int_malloc(mstate av, size_t bytes) | |
{ | |
... | |
for(;;) { | |
int iters = 0; | |
while ( (victim = unsorted_chunks(av)->bk) != unsorted_chunks(av)) { | |
bck = victim->bk; |
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/sudoers.c | |
static int | |
set_cmnd(void) | |
{ | |
... | |
if (sudo_mode & (MODE_RUN | MODE_EDIT | MODE_CHECK)) { | |
... | |
/* set user_args */ | |
if (NewArgc > 1) { | |
char *to, *from, **av; |
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 | |
bool | |
update_defaults(int what, bool quiet) | |
{ | |
struct defaults *d; | |
... | |
/* | |
* Then set the rest of the defaults. | |
*/ |
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/parse.h | |
/* | |
* Structure describing a Defaults entry in sudoers. | |
*/ | |
struct defaults { | |
TAILQ_ENTRY(defaults) entries; | |
char *var; /* variable name */ | |
char *val; /* variable value */ | |
struct member_list *binding; /* user/host/runas binding */ | |
char *file; /* file Defaults entry was in */ |