Scroll to navigation

IPC_OBTAIN_OBJECT_CH(9) Kernel IPC facilities IPC_OBTAIN_OBJECT_CH(9)

NAME

ipc_obtain_object_check -

SYNOPSIS

struct kern_ipc_perm * ipc_obtain_object_check(struct ipc_ids * ids, int id);

ARGUMENTS

struct ipc_ids * ids
ipc identifier set

int id

ipc id to look for

DESCRIPTION

Similar to ipc_obtain_object_idr but also checks the ipc object reference counter.

Call inside the RCU critical section. The ipc object is *not* locked on exit.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.11