CHSIDFS
Section: Linux Programmer's Manual (2)
Updated: 20 March 2000
Index
Return to Main Contents
NAME
chsidfs, fchsidfs - change SID of a file system
SYNOPSIS
int chsidfs(const char *path, security_id_t fs_sid, security_id_t f_sid);
int fchsidfs(int fd, security_id_t fs_sid, security_id_t f_sid);
DESCRIPTION
The
chsidfs
and
fchsidfs
calls may be used to change the SID of a file system using the
fs_sid
parameter and/or the SID to use for unlabeled files using the
f_sid
parameter. Either SID parameter may be null, in which case
the corresponding SID will not be changed.
RETURN VALUE
On success, zero is returned. On error, -1 is returned, and
errno
is set appropriately.
SEE ALSO
statfs_secure(2),
fstatfs_secure(2)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUE
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 17:08:26 GMT, December 18, 2000