summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIker Pedrosa <ipedrosa@redhat.com>2023-09-01 16:01:16 +0200
committerSerge Hallyn <serge@hallyn.com>2023-10-04 13:31:38 -0500
commit3a43d72e42fd0c9f54842af56e6ceda5ec4b290f (patch)
treec8a59cdfca041ef4edba55e786a9663b5ed2e2f7
parentb91b3793a94fba18d2f4307bb828772184b302c8 (diff)
doc: remove console.c.spec.txt
I guess we are keeping this for historical purposes more than anything else. If so, anybody can check the git history to recover the specification. Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
-rw-r--r--doc/Makefile.am2
-rw-r--r--doc/console.c.spec.txt36
2 files changed, 1 insertions, 37 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 85f22480..f7270af3 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -2,4 +2,4 @@
# and also cooperate to make a distribution for `make dist'
EXTRA_DIST = HOWTO README.limits \
- README.platforms WISHLIST console.c.spec.txt cracklib26.diff
+ README.platforms WISHLIST cracklib26.diff
diff --git a/doc/console.c.spec.txt b/doc/console.c.spec.txt
deleted file mode 100644
index b7c0d0da..00000000
--- 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