Long-standing bugs and typos

Johannes Kroeger (jkroeger@squirrel.owl.de)
Tue, 5 Mar 1996 21:10:52 +0100


Hello experts,

Here is a small collection of bugs and typos that should be fixed before the
next stable release.

1. Since 1.3.36 the ext2fs secure-deletion attribute has no effect.
(See Linus' comment in fs/ext2/truncate.c) Is this being worked on?

2. Some files in /proc have wrong permissions:

/proc/scsi% ls -li
256 -rw-r--r-- 2 root wheel 0 Mar 5 20:03 scsi
(It should be -r--r--r--, although writing to this file does nothing.
The link count seems also wrong, there are no other /proc files with inum 256.)

/proc/sys/vm% ls -li
4111 -rw------- 1 root wheel 0 Mar 5 20:04 bdflush
4110 -rw------- 1 root wheel 0 Mar 5 20:04 freepages
4109 -rw------- 1 root wheel 0 Mar 5 20:04 kswapd
4108 -rw------- 1 root wheel 0 Mar 5 20:04 swapctl
(Setting their permissions to -rw-r--r-- shoudn't be a security hole.)

3. In include/linux/asm-i386/termios.h and
include/linux/asm-sparc/termios.h
the comments about the control sequences don't match the code:

--- include/asm-i386/termios.h~ Tue Feb 20 13:35:54 1996
+++ include/asm-i386/termios.h Tue Mar 5 12:13:56 1996
@@ -114,10 +114,10 @@
#define VEOL2 16

#ifdef __KERNEL__
-/* intr=^C quit=^| erase=del kill=^U
+/* intr=^C quit=^\ erase=del kill=^U
eof=^D vtime=\0 vmin=\1 sxtc=\0
start=^Q stop=^S susp=^Z eol=\0
- reprint=^R discard=^U werase=^W lnext=^V
+ reprint=^R discard=^O werase=^W lnext=^V
eol2=\0
*/
#define INIT_C_CC "\003\034\177\025\004\0\1\0\021\023\032\0\022\017\027\026\0"

--- /usr/src/linux/include/asm-sparc/termios.h~ Mon Mar 4 11:55:27 1996
+++ /usr/src/linux/include/asm-sparc/termios.h Tue Mar 5 12:13:56 1996
@@ -190,11 +190,11 @@
#define VLNEXT 15
#define VMIN VEOF
#define VTIME VEOL

#ifdef __KERNEL__
-/* intr=^C quit=^| erase=del kill=^U
+/* intr=^C quit=^\ erase=del kill=^U
eof/vmin=\1 eol/vtime=\0 eol2=\0 sxtc=\0
start=^Q stop=^S susp=^Z dsusp=^Y
reprint=^R discard=^U werase=^W lnext=^V
*/
#define INIT_C_CC "\003\034\177\025\001\000\000\000\021\023\032\031\022\025\027\026"

BTW, why is discard=^O in Linux/i386 and =^U everywhere else?

-- 
Johannes Kroeger		<jkroeger@squirrel.owl.de>
Send me mail with subject "send pgp-key" to get my PGP key