[Todo] Remove usage of (f)suser in kernel

David Weinehall (tao@acc.umu.se)
Wed, 5 Dec 2001 18:15:59 +0100


After a quick round of grep:ing, I came up with the following files
needing fixes to substitute usage of (f)suser for proper capabilities:

linux/include/linux/sched.h -- definitions of suser/fsuser
linux/include/linux/compatmac.h -- compability-macro for suser

linux/fs/ufs/balloc.c -- 1 occurence of fsuser

linux/drivers/net/wan/lmc/lmc_main.c -- 6 occurences of suser
linux/drivers/net/pcmcia/xircom_tulip_cb.c -- 1 occurence of suser
linux/drivers/net/fealnx.c -- 1 occurence of suser

linux/drivers/block/cciss.c -- 2 occurences of suser
linux/drivers/block/cpqarray.c -- 3 occurences of suser
linux/drivers/block/swim3.c -- 1 occurence of suser
linux/drivers/block/swim_iop.c -- 1 occurence of suser

linux/drivers/char/tty_io.c -- 4 occurences of suser
linux/drivers/char/vt.c -- 3 occurences of suser
linux/drivers/char/rocket.c -- 1 occurence of suser
linux/drivers/char/mxser.c -- 1 occurence of suser
linux/drivers/char/serial167.c -- 1 occurence of suser
linux/drivers/char/ip2main.c -- 1 occurence of suser
linux/drivers/char/rio/rio_linux.c -- 1 occurence of suser
linux/drivers/char/moxa.c -- 1 occurence of suser

linux/drivers/scsi/cpqfcTSinit.c -- 1 occurence of suser

linux/drivers/pcmcia/ds.c -- 1 occurence of suser

linux/drivers/s390/char/tubtty.c -- 1 occurence of suser

linux/drivers/media/video/zr36120.c -- 1 occurence of suser

linux/arch/i386/kernel/mtrr.c -- 9 occurences of suser

linux/arch/sparc64/kernel/ioctl32.c -- 1 occurence of suser

Since I don't know what the maintainers of some of these files want
as capabilities, I've decided not to fix this myself. zr36120.c is
only a matter of removing an #ifdef/#else/#endif combo and doing some
reindenting, though.

/David Weinehall
_ _
// David Weinehall <tao@acc.umu.se> /> Northern lights wander \\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\> http://www.acc.umu.se/~tao/ </ Full colour fire </
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/