Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   selinux_restorecon_set_alt_rootpath    ( 3 )

установить альтернативный корневой путь (set an alternate rootpath.)

Имя (Name)

selinux_restorecon_set_alt_rootpath - set an alternate rootpath.


Синопсис (Synopsis)

#include <selinux/restorecon.h>

int selinux_restorecon_set_alt_rootpath(const char *alt_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).


Возвращаемое значение (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)