Small fixups after review for stable (#37442)
This commit is contained in:
@@ -173,7 +173,7 @@
|
||||
#else
|
||||
# define ABS(a) __builtin_imaxabs(a)
|
||||
#endif
|
||||
assert_cc(sizeof(intmax_t) <= sizeof(long long));
|
||||
assert_cc(sizeof(long long) == sizeof(intmax_t));
|
||||
|
||||
#define IS_UNSIGNED_INTEGER_TYPE(type) \
|
||||
(__builtin_types_compatible_p(typeof(type), unsigned char) || \
|
||||
|
||||
@@ -115,9 +115,13 @@ typedef struct Manager {
|
||||
JournalStorage system_storage;
|
||||
|
||||
JournalCompressOptions compress;
|
||||
int set_audit;
|
||||
bool seal;
|
||||
bool read_kmsg;
|
||||
int set_audit;
|
||||
|
||||
bool send_watchdog;
|
||||
bool sent_notify_ready;
|
||||
bool sync_scheduled;
|
||||
|
||||
bool forward_to_kmsg;
|
||||
bool forward_to_syslog;
|
||||
@@ -155,10 +159,6 @@ typedef struct Manager {
|
||||
uint64_t *kernel_seqnum;
|
||||
RateLimit kmsg_own_ratelimit;
|
||||
|
||||
bool send_watchdog:1;
|
||||
bool sent_notify_ready:1;
|
||||
bool sync_scheduled:1;
|
||||
|
||||
char machine_id_field[STRLEN("_MACHINE_ID=") + SD_ID128_STRING_MAX];
|
||||
char boot_id_field[STRLEN("_BOOT_ID=") + SD_ID128_STRING_MAX];
|
||||
char *hostname_field;
|
||||
|
||||
+1
-3
@@ -611,9 +611,7 @@ def elf2efi(args: argparse.Namespace):
|
||||
|
||||
coff.Machine = pe_arch
|
||||
coff.NumberOfSections = len(sections)
|
||||
coff.TimeDateStamp = int(
|
||||
os.environ.get("SOURCE_DATE_EPOCH") if os.environ.get("SOURCE_DATE_EPOCH") else time.time()
|
||||
)
|
||||
coff.TimeDateStamp = int(os.environ.get("SOURCE_DATE_EPOCH") or time.time())
|
||||
coff.SizeOfOptionalHeader = sizeof(opt)
|
||||
# EXECUTABLE_IMAGE|LINE_NUMS_STRIPPED|LOCAL_SYMS_STRIPPED|DEBUG_STRIPPED
|
||||
# and (32BIT_MACHINE or LARGE_ADDRESS_AWARE)
|
||||
|
||||
Reference in New Issue
Block a user