diff options
author | Joshua Brindle <method@manicmethod.com> | 2010-03-12 08:33:37 -0500 |
---|---|---|
committer | Joshua Brindle <method@manicmethod.com> | 2010-03-12 08:33:37 -0500 |
commit | 78bc1a58bc14c3f3af1ba88cb496c09bbd3f5365 (patch) | |
tree | 8da1c9136b552bce4ef12a61447edf6bb7dfee60 /libselinux/man/man3 | |
parent | b5b2c2c2fefcd305362fbaa748c4eaf4d467a721 (diff) | |
parent | 61d005b739f34b9471244428769a156d57358c9c (diff) | |
download | android_external_selinux-78bc1a58bc14c3f3af1ba88cb496c09bbd3f5365.tar.gz android_external_selinux-78bc1a58bc14c3f3af1ba88cb496c09bbd3f5365.tar.bz2 android_external_selinux-78bc1a58bc14c3f3af1ba88cb496c09bbd3f5365.zip |
Merge branch 'master' of oss.tresys.com:/home/git/selinux
Diffstat (limited to 'libselinux/man/man3')
-rw-r--r-- | libselinux/man/man3/avc_netlink_loop.3 | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/libselinux/man/man3/avc_netlink_loop.3 b/libselinux/man/man3/avc_netlink_loop.3 index 67df6e46..785be4c3 100644 --- a/libselinux/man/man3/avc_netlink_loop.3 +++ b/libselinux/man/man3/avc_netlink_loop.3 @@ -41,12 +41,9 @@ descriptor is stored internally; use .BR avc_netlink_acquire_fd (3) to take ownership of it in application code. The .I blocking -argument specifies whether read operations on the socket will block. +argument controls whether the O_NONBLOCK flag is set on the socket descriptor. .BR avc_open (3) -calls this function internally, specifying non-blocking behavior (unless -threading callbacks were explicitly set using the deprecated -.BR avc_init (3) -interface, in which case blocking behavior is set). +calls this function internally, specifying non-blocking behavior. .B avc_netlink_close closes the netlink socket. This function is called automatically by @@ -66,9 +63,7 @@ checks the netlink socket for pending messages and processes them. Callbacks for policyload and enforcing changes will be called; see .BR selinux_set_callback (3). -This function does not block unless -.BR avc_netlink_open (3) -specified blocking behavior. +This function does not block. .B avc_netlink_loop enters a loop blocking on the netlink socket and processing messages as they |