Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sgi_revoke(2) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sleep(3)

alarm(2)

pause(2)

schedctl(2)

setitimer(2)



SGIREVOKE(2)                                                    SGIREVOKE(2)



NAME
     sgi_revoke - revoke access to a file

C SYNOPSIS
     #include <sys/maclabel.h>
     int sgirevoke(char *fname);

DESCRIPTION
     The sgi_revoke system call invalidates all currently open file
     descriptors referencing the file named by fname.

     sgi_revoke requires that the calling process have appropriate privilege.
     If POSIXCAP is in effect, the appropriate capability is CAPDEVICEMGT.

ERRORS
     sgi_revoke will fail if one or more of the following are true:

     [EPERM]        The calling process lack appropriate privilege.

     [EINVAL]       The named file is not a character-special file.

SEE ALSO
     sleep(3), alarm(2), pause(2), schedctl(2), setitimer(2).
































                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026