OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:capng_lock
(Results
1 - 8
of
8
) sorted by null
/external/libcap-ng/libcap-ng-0.7/docs/
capng_lock.3
1
.TH "
CAPNG_LOCK
" "3" "June 2009" "Red Hat" "Libcap-ng API"
3
capng_lock
\- lock the current process capabilities settings
7
int
capng_lock
(void);
11
capng_lock
will take steps to prevent children of the current process to regain full privileges if the uid is 0. This should be called while possessing the CAP_SETPCAP capability in the kernel. This function will do the following if permitted by the kernel: Set the NOROOT option on for PR_SET_SECUREBITS, set the NOROOT_LOCKED option to on for PR_SET_SECUREBITS, set the PR_NO_SETUID_FIXUP option on for PR_SET_SECUREBITS, and set the PR_NO_SETUID_FIXUP_LOCKED option on for PR_SET_SECUREBITS.
Makefile.am
29
capng_apply.3
capng_lock
.3 capng_change_id.3 capng_get_caps_fd.3 \
Makefile.in
238
capng_apply.3
capng_lock
.3 capng_change_id.3 capng_get_caps_fd.3 \
/external/libcap-ng/libcap-ng-0.7/bindings/python/
capng.py
154
def
capng_lock
():
function
155
return _capng.
capng_lock
()
156
capng_lock
= _capng.
capng_lock
variable
/external/libcap-ng/libcap-ng-0.7/utils/
captest.c
229
capng_lock
();
236
capng_lock
();
260
capng_lock
();
/external/libcap-ng/libcap-ng-0.7/src/
cap-ng.h
61
int
capng_lock
(void);
cap-ng.c
662
int
capng_lock
(void)
function
/external/libcap-ng/libcap-ng-0.7/
ChangeLog
46
- Set the SECURE_NO_SETUID_FIXUP and LOCKED securebits flags in
capng_lock
Completed in 729 milliseconds