Skip to content

Instantly share code, notes, and snippets.

@phhusson
Created July 9, 2020 23:03
Show Gist options
  • Save phhusson/e3fe7197117ad0e1d4237dd4f6d6934e to your computer and use it in GitHub Desktop.
Save phhusson/e3fe7197117ad0e1d4237dd4f6d6934e to your computer and use it in GitHub Desktop.
[C] 'task_struct init_task' was changed at init_task.c:57:1:
size of symbol changed from 3776 to 3840,
its CRC (modversions) changed from 0xe2647996 to 0xde298bd4
type of variable changed:
type size changed from 30208 to 30720 (in bits)
2 data member insertions:
'sysv_sem task_struct::sysvsem', at offset 15168 (in bits) at sched.h:912:1
'sysv_shm task_struct::sysvshm', at offset 15232 (in bits) at sched.h:913:1
there are data member changes:
'fs_struct* task_struct::fs' offset changed from 15168 to 15360 (in bits) (by +192 bits)
'files_struct* task_struct::files' offset changed from 15232 to 15424 (in bits) (by +192 bits)
'nsproxy* task_struct::nsproxy' offset changed from 15296 to 15488 (in bits) (by +192 bits)
'signal_struct* task_struct::signal' offset changed from 15360 to 15552 (in bits) (by +192 bits)
'sighand_struct* task_struct::sighand' offset changed from 15424 to 15616 (in bits) (by +192 bits)
'sigset_t task_struct::blocked' offset changed from 15488 to 15680 (in bits) (by +192 bits)
'sigset_t task_struct::real_blocked' offset changed from 15552 to 15744 (in bits) (by +192 bits)
'sigset_t task_struct::saved_sigmask' offset changed from 15616 to 15808 (in bits) (by +192 bits)
'sigpending task_struct::pending' offset changed from 15680 to 15872 (in bits) (by +192 bits)
'unsigned long int task_struct::sas_ss_sp' offset changed from 15872 to 16064 (in bits) (by +192 bits)
'size_t task_struct::sas_ss_size' offset changed from 15936 to 16128 (in bits) (by +192 bits)
'unsigned int task_struct::sas_ss_flags' offset changed from 16000 to 16192 (in bits) (by +192 bits)
'callback_head* task_struct::task_works' offset changed from 16064 to 16256 (in bits) (by +192 bits)
'audit_context* task_struct::audit_context' offset changed from 16128 to 16320 (in bits) (by +192 bits)
'kuid_t task_struct::loginuid' offset changed from 16192 to 16384 (in bits) (by +192 bits)
'unsigned int task_struct::sessionid' offset changed from 16224 to 16416 (in bits) (by +192 bits)
'seccomp task_struct::seccomp' offset changed from 16256 to 16448 (in bits) (by +192 bits)
'u64 task_struct::parent_exec_id' offset changed from 16384 to 16576 (in bits) (by +192 bits)
'u64 task_struct::self_exec_id' offset changed from 16448 to 16640 (in bits) (by +192 bits)
'spinlock_t task_struct::alloc_lock' offset changed from 16512 to 16704 (in bits) (by +192 bits)
'raw_spinlock_t task_struct::pi_lock' offset changed from 16544 to 16736 (in bits) (by +192 bits)
'wake_q_node task_struct::wake_q' offset changed from 16576 to 16768 (in bits) (by +192 bits)
'rb_root_cached task_struct::pi_waiters' offset changed from 16640 to 16832 (in bits) (by +192 bits)
'task_struct* task_struct::pi_top_task' offset changed from 16768 to 16960 (in bits) (by +192 bits)
'rt_mutex_waiter* task_struct::pi_blocked_on' offset changed from 16832 to 17024 (in bits) (by +192 bits)
'void* task_struct::journal_info' offset changed from 16896 to 17088 (in bits) (by +192 bits)
'bio_list* task_struct::bio_list' offset changed from 16960 to 17152 (in bits) (by +192 bits)
'blk_plug* task_struct::plug' offset changed from 17024 to 17216 (in bits) (by +192 bits)
'reclaim_state* task_struct::reclaim_state' offset changed from 17088 to 17280 (in bits) (by +192 bits)
'backing_dev_info* task_struct::backing_dev_info' offset changed from 17152 to 17344 (in bits) (by +192 bits)
'io_context* task_struct::io_context' offset changed from 17216 to 17408 (in bits) (by +192 bits)
'capture_control* task_struct::capture_control' offset changed from 17280 to 17472 (in bits) (by +192 bits)
'unsigned long int task_struct::ptrace_message' offset changed from 17344 to 17536 (in bits) (by +192 bits)
'kernel_siginfo_t* task_struct::last_siginfo' offset changed from 17408 to 17600 (in bits) (by +192 bits)
'task_io_accounting task_struct::ioac' offset changed from 17472 to 17664 (in bits) (by +192 bits)
'unsigned int task_struct::psi_flags' offset changed from 17984 to 18176 (in bits) (by +192 bits)
'u64 task_struct::acct_rss_mem1' offset changed from 18048 to 18240 (in bits) (by +192 bits)
'u64 task_struct::acct_vm_mem1' offset changed from 18112 to 18304 (in bits) (by +192 bits)
'u64 task_struct::acct_timexpd' offset changed from 18176 to 18368 (in bits) (by +192 bits)
'nodemask_t task_struct::mems_allowed' offset changed from 18240 to 18432 (in bits) (by +192 bits)
'seqcount_t task_struct::mems_allowed_seq' offset changed from 18304 to 18496 (in bits) (by +192 bits)
'int task_struct::cpuset_mem_spread_rotor' offset changed from 18336 to 18528 (in bits) (by +192 bits)
'int task_struct::cpuset_slab_spread_rotor' offset changed from 18368 to 18560 (in bits) (by +192 bits)
'css_set* task_struct::cgroups' offset changed from 18432 to 18624 (in bits) (by +192 bits)
'list_head task_struct::cg_list' offset changed from 18496 to 18688 (in bits) (by +192 bits)
'robust_list_head* task_struct::robust_list' offset changed from 18624 to 18816 (in bits) (by +192 bits)
'compat_robust_list_head* task_struct::compat_robust_list' offset changed from 18688 to 18880 (in bits) (by +192 bits)
'list_head task_struct::pi_state_list' offset changed from 18752 to 18944 (in bits) (by +192 bits)
'futex_pi_state* task_struct::pi_state_cache' offset changed from 18880 to 19072 (in bits) (by +192 bits)
'mutex task_struct::futex_exit_mutex' offset changed from 18944 to 19136 (in bits) (by +192 bits)
'unsigned int task_struct::futex_state' offset changed from 19200 to 19392 (in bits) (by +192 bits)
'perf_event_context* task_struct::perf_event_ctxp[2]' offset changed from 19264 to 19456 (in bits) (by +192 bits)
'mutex task_struct::perf_event_mutex' offset changed from 19392 to 19584 (in bits) (by +192 bits)
'list_head task_struct::perf_event_list' offset changed from 19648 to 19840 (in bits) (by +192 bits)
'tlbflush_unmap_batch task_struct::tlb_ubc' offset changed from 19776 to 19968 (in bits) (by +192 bits)
anonymous data member 'union {refcount_t rcu_users; callback_head rcu;}' offset changed from 19776 to 19968 (in bits) (by +192 bits)
'pipe_inode_info* task_struct::splice_pipe' offset changed from 19904 to 20096 (in bits) (by +192 bits)
'page_frag task_struct::task_frag' offset changed from 19968 to 20160 (in bits) (by +192 bits)
'int task_struct::nr_dirtied' offset changed from 20096 to 20288 (in bits) (by +192 bits)
'int task_struct::nr_dirtied_pause' offset changed from 20128 to 20320 (in bits) (by +192 bits)
'unsigned long int task_struct::dirty_paused_when' offset changed from 20160 to 20352 (in bits) (by +192 bits)
'u64 task_struct::timer_slack_ns' offset changed from 20224 to 20416 (in bits) (by +192 bits)
'u64 task_struct::default_timer_slack_ns' offset changed from 20288 to 20480 (in bits) (by +192 bits)
'unsigned long int task_struct::trace' offset changed from 20352 to 20544 (in bits) (by +192 bits)
'unsigned long int task_struct::trace_recursion' offset changed from 20416 to 20608 (in bits) (by +192 bits)
'mem_cgroup* task_struct::memcg_in_oom' offset changed from 20480 to 20672 (in bits) (by +192 bits)
'gfp_t task_struct::memcg_oom_gfp_mask' offset changed from 20544 to 20736 (in bits) (by +192 bits)
'int task_struct::memcg_oom_order' offset changed from 20576 to 20768 (in bits) (by +192 bits)
'unsigned int task_struct::memcg_nr_pages_over_high' offset changed from 20608 to 20800 (in bits) (by +192 bits)
'mem_cgroup* task_struct::active_memcg' offset changed from 20672 to 20864 (in bits) (by +192 bits)
'request_queue* task_struct::throttle_queue' offset changed from 20736 to 20928 (in bits) (by +192 bits)
'uprobe_task* task_struct::utask' offset changed from 20800 to 20992 (in bits) (by +192 bits)
'int task_struct::pagefault_disabled' offset changed from 20864 to 21056 (in bits) (by +192 bits)
'task_struct* task_struct::oom_reaper_list' offset changed from 20928 to 21120 (in bits) (by +192 bits)
'vm_struct* task_struct::stack_vm_area' offset changed from 20992 to 21184 (in bits) (by +192 bits)
'refcount_t task_struct::stack_refcount' offset changed from 21056 to 21248 (in bits) (by +192 bits)
'void* task_struct::security' offset changed from 21120 to 21312 (in bits) (by +192 bits)
'u64 task_struct::android_kabi_reserved1' offset changed from 21184 to 21376 (in bits) (by +192 bits)
'u64 task_struct::android_kabi_reserved2' offset changed from 21248 to 21440 (in bits) (by +192 bits)
'u64 task_struct::android_kabi_reserved3' offset changed from 21312 to 21504 (in bits) (by +192 bits)
'u64 task_struct::android_kabi_reserved4' offset changed from 21376 to 21568 (in bits) (by +192 bits)
'u64 task_struct::android_kabi_reserved5' offset changed from 21440 to 21632 (in bits) (by +192 bits)
'u64 task_struct::android_kabi_reserved6' offset changed from 21504 to 21696 (in bits) (by +192 bits)
'u64 task_struct::android_kabi_reserved7' offset changed from 21568 to 21760 (in bits) (by +192 bits)
'u64 task_struct::android_kabi_reserved8' offset changed from 21632 to 21824 (in bits) (by +192 bits)
'thread_struct task_struct::thread' offset changed from 21760 to 21888 (in bits) (by +128 bits)
2875 impacted interfaces
'struct cgroup at cgroup-defs.h:351:1' changed:
type size changed from 18752 to 18944 (in bits)
there are data member changes:
type 'cgroup_subsys_state*[6]' of 'cgroup::subsys' changed:
type name changed from 'cgroup_subsys_state*[6]' to 'cgroup_subsys_state*[7]'
array type size changed from 384 to 448
array type subrange 1 changed length from 6 to 7
'cgroup_root* cgroup::root' offset changed from 4224 to 4288 (in bits) (by +64 bits)
'list_head cgroup::cset_links' offset changed from 4288 to 4352 (in bits) (by +64 bits)
type 'list_head[6]' of 'cgroup::e_csets' changed:
type name changed from 'list_head[6]' to 'list_head[7]'
array type size changed from 768 to 896
array type subrange 1 changed length from 6 to 7
and offset changed from 4416 to 4480 (in bits) (by +64 bits)
'cgroup* cgroup::dom_cgrp' offset changed from 5184 to 5376 (in bits) (by +192 bits)
'cgroup* cgroup::old_dom_cgrp' offset changed from 5248 to 5440 (in bits) (by +192 bits)
'cgroup_rstat_cpu* cgroup::rstat_cpu' offset changed from 5312 to 5504 (in bits) (by +192 bits)
'list_head cgroup::rstat_css_list' offset changed from 5376 to 5568 (in bits) (by +192 bits)
'cgroup_base_stat cgroup::pending_bstat' offset changed from 5504 to 5696 (in bits) (by +192 bits)
'cgroup_base_stat cgroup::bstat' offset changed from 5696 to 5888 (in bits) (by +192 bits)
'prev_cputime cgroup::prev_cputime' offset changed from 5888 to 6080 (in bits) (by +192 bits)
'list_head cgroup::pidlists' offset changed from 6080 to 6272 (in bits) (by +192 bits)
'mutex cgroup::pidlist_mutex' offset changed from 6208 to 6400 (in bits) (by +192 bits)
'wait_queue_head_t cgroup::offline_waitq' offset changed from 6464 to 6656 (in bits) (by +192 bits)
'work_struct cgroup::release_agent_work' offset changed from 6656 to 6848 (in bits) (by +192 bits)
'psi_group cgroup::psi' offset changed from 7040 to 7232 (in bits) (by +192 bits)
'cgroup_bpf cgroup::bpf' offset changed from 12480 to 12672 (in bits) (by +192 bits)
'atomic_t cgroup::congestion_count' offset changed from 18560 to 18752 (in bits) (by +192 bits)
'cgroup_freezer_state cgroup::freezer' offset changed from 18592 to 18784 (in bits) (by +192 bits)
'int cgroup::ancestor_ids[]' offset changed from 18720 to 18912 (in bits) (by +192 bits)
304 impacted interfaces
'struct cgroup_root at cgroup-defs.h:499:1' changed (indirectly):
type size changed from 52608 to 52800 (in bits)
there are data member changes:
type 'struct cgroup' of 'cgroup_root::cgrp' changed, as reported earlier
'int cgroup_root::cgrp_ancestor_id_storage' offset changed from 18880 to 19072 (in bits) (by +192 bits)
'atomic_t cgroup_root::nr_cgrps' offset changed from 18912 to 19104 (in bits) (by +192 bits)
'list_head cgroup_root::root_list' offset changed from 18944 to 19136 (in bits) (by +192 bits)
'unsigned int cgroup_root::flags' offset changed from 19072 to 19264 (in bits) (by +192 bits)
'idr cgroup_root::cgroup_idr' offset changed from 19136 to 19328 (in bits) (by +192 bits)
'char cgroup_root::release_agent_path[4096]' offset changed from 19328 to 19520 (in bits) (by +192 bits)
'char cgroup_root::name[64]' offset changed from 52096 to 52288 (in bits) (by +192 bits)
304 impacted interfaces
'struct task_struct at sched.h:635:1' changed:
details were reported earlier
'struct user_struct at user.h:14:1' changed:
type size hasn't changed
1 data member insertion:
'atomic_t user_struct::fanotify_listeners', at offset 96 (in bits) at user.h:19:1
2877 impacted interfaces
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment