diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 16:18:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 16:18:37 +0000 |
commit | b6b00dd55e035bfbe311a527b567962ffa77ee43 (patch) | |
tree | cafc4d13785448e5a78bd40a51697ee07f07ac12 /doc/console.c.spec.txt | |
parent | Adding debian version 1:4.13+dfsg1-5. (diff) | |
download | shadow-b6b00dd55e035bfbe311a527b567962ffa77ee43.tar.xz shadow-b6b00dd55e035bfbe311a527b567962ffa77ee43.zip |
Merging upstream version 1:4.15.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/console.c.spec.txt')
-rw-r--r-- | doc/console.c.spec.txt | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/doc/console.c.spec.txt b/doc/console.c.spec.txt deleted file mode 100644 index b7c0d0d..0000000 --- a/doc/console.c.spec.txt +++ /dev/null @@ -1,36 +0,0 @@ -$Id$ - -Specification for console.c source file -- - -input values -- - tty -- character pointer to device name with leading "/dev/" - removed. - -return values -- - 0 -- false - 1 -- true - -int console (char * tty) - if "CONSOLE" string value is not present in login.defs - return true - - if the first character of "CONSOLE" string value is not "/" - treat the string as a ":" delimited list of device - names and search for the value of tty in that - tokenized list. - - if a match is found - return true - - return false - - if the file named by "CONSOLE" cannot be opened - return true - - scan the file looking for a match between the input line - and the value of tty - - if a match is found - return true - - return false |