diff options
| author | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
| commit | 46439007cf417cbd9ac8049bb4122c890097a0fa (patch) | |
| tree | 6fdb25e5f3a2b6d5657eb23b35774b631d4d97e4 /man/10/eve | |
| parent | 37da2899f40661e3e9631e497da8dc59b971cbd0 (diff) | |
20060303-partial
Diffstat (limited to 'man/10/eve')
| -rw-r--r-- | man/10/eve | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/man/10/eve b/man/10/eve new file mode 100644 index 00000000..8a20b77f --- /dev/null +++ b/man/10/eve @@ -0,0 +1,42 @@ +.TH EVE 10.2 +.SH NAME +eve, iseve \- privileged user +.SH SYNOPSIS +.ta \w'\fLchar* 'u +.B +char eve[NAMELEN] = "inferno"; +.PP +.B +int iseve(void) +.SH DESCRIPTION +.I Eve +is a null-terminated string containing the name of the privileged user, often called +the `host owner', in +the Inferno system. +The default identity in native systems is +.LR inferno , +and in hosted Inferno it is the user who started +.IR emu (1). +The initial process created by system initialisation is given the +.I eve +identity. +.PP +.I Iseve +returns true if the current user is +.IR eve . +Several drivers use +.I iseve +to check the caller's identity +before granting permission to perform certain actions. +For example, the console driver allows only the user +.I eve +to write a new identity into the +.B /dev/user +file. +The privileges are strictly local and do not extend into the network +(in particular, to file servers). +.PP +Note that the comparison performed by +.I iseve +is case-sensitive, even when running hosted on systems where +usernames are case-insensitive. |
