Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\pid.c Create Date:2022-07-28 09:28:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:task_active_pid_ns

Proto:struct pid_namespace *task_active_pid_ns(struct task_struct *tsk)

Type:struct pid_namespace

Parameter:

TypeParameterName
struct task_struct *tsk
485  Return s_of_pid() returns the pid namespace in which the specified pid was* allocated.* NOTE:* ns_of_pid() is expected to be called for a process (task) that has* an attached 'struct pid' (see attach_pid(), detach_pid()) i.e @pid* is expected to be non-NULL
Caller
NameDescribe
find_child_reaper
__send_signal
send_signal
do_notify_parentLet a parent know about the death of a child.* For a stopped/continued status change, use do_notify_parent_cldstop instead.* Returns true if our parent ignored us and so we've switched to* self-reaping.
do_notify_parent_cldstopdo_notify_parent_cldstop - notify parent of stopped/continued state change*@tsk: task reporting the state change*@for_ptracer: the notification is for ptracer*@why: CLD_{CONTINUED|STOPPED|TRAPPED} to report
access_pidfd_pidnsVerify that the signaler and signalee either are in the same pid namespace* or that the signaler's pid namespace is an ancestor of the signalee's pid* namespace.
find_vpid
find_task_by_vpid
pid_vnr
__task_pid_nr_ns
SYSCALL_DEFINE4Reboot system call: for obvious reasons only root may call it,* and even root needs to set up some magic numbers in the registers* so that some mistake won't make this reboot the whole machine.* You can also set the meaning of the ctrl-alt-del-key here.
acct_on
SYSCALL_DEFINE1sys_acct - enable/disable process accounting*@name: file name for accounting records or NULL to shutdown accounting* Returns 0 for success or negative errno values for failure.* sys_acct() is the only system call needed to implement process* accounting
acct_processacct_process* handles process accounting for an exiting task
cgroup_pidlist_find
cgroup_pidlist_find_created the appropriate pidlist for our purpose (given procs vs tasks)* returns with the lock on that pidlist already held, and takes care* of the use count, or returns NULL with no locks held if we're out of* memory.
copy_pid_ns
pidns_get
pidns_install
pidns_get_parent
audit_netlink_okCheck for appropriate CAP_AUDIT_ capabilities on incoming audit* control messages.
fill_stats_for_pid
add_del_listener
perf_event_allocAllocate and initialize an event structure
posix_lock_to_flock
posix_lock_to_flock64
ptrace_event_pidptrace_event_pid - possibly stop for a ptrace event notification*@event: %PTRACE_EVENT_* value to report*@pid: process identifier for %PTRACE_GETEVENTMSG to return* Check whether @event is enabled and, if so, report @event and @pid* to the ptrace parent