logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

selinux_lsetfilecon_default - set the file context to the system defaults

Description

selinux_lsetfilecon_default() sets the file context to the system defaults.

Name

       selinux_lsetfilecon_default - set the file context to the system defaults

Return Value

       Returns zero on success or -1 otherwise.

See Also

selinux(8), selinux_file_context_cmp(3), selinux_file_context_verify(3), matchpathcon(3), freecon(3),
       setfilecon(3), setfscreatecon(3)

stephen.smalley.work@gmail.com                  21 November 2009                  selinux_lsetfilecon_default(3)

Synopsis

#include<selinux/selinux.h>intselinux_lsetfilecon_default(constchar*path);

See Also