CHSID
Section: Linux Programmer's Manual (2)
Updated: 22 March 2000
Index
Return to Main Contents
NAME
chsid, fchsid - change security identifier of a file
SYNOPSIS
#include <fs_secure.h>
int chsid(const char *path, security_id_t sid);
int fchsid(int fd, security_id_t sid);
DESCRIPTION
The SID of the file given by
path
or referenced by
fd
is changed to the value specified
by the
sid
parameter.
RETURN VALUE
On success, zero is returned. On error, -1 is returned, and
errno
is set appropriately.
SEE ALSO
stat_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