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_restorecon_set_alt_rootpath - set an alternate rootpath.

Description

selinux_restorecon_set_alt_rootpath()  passes  to selinux_restorecon(3) a pointer containing an alternate
       rootpath alt_rootpath.

       selinux_restorecon_set_alt_rootpath() must be called prior to selinux_restorecon(3).

Name

       selinux_restorecon_set_alt_rootpath - set an alternate rootpath.

Return Value

       On success, zero is returned.  On error, -1 is returned and errno is set appropriately.

See Also

selinux_restorecon(3),
       selinux_restorecon_set_sehandle(3),
       selinux_restorecon_default_handle(3),
       selinux_restorecon_set_exclude_list(3),
       selinux_restorecon_xattr(3)

Security Enhanced Linux                            29 May 2016            selinux_restorecon_set_alt_rootpath(3)

Synopsis

#include<selinux/restorecon.h>intselinux_restorecon_set_alt_rootpath(constchar*alt_rootpath);

See Also