* [Todo] Remove usage of (f)suser in kernel
@ 2001-12-05 17:15 David Weinehall
2001-12-05 18:14 ` Jeff Garzik
0 siblings, 1 reply; 3+ messages in thread
From: David Weinehall @ 2001-12-05 17:15 UTC (permalink / raw)
To: Linux-Kernel Mailing List
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 </
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Todo] Remove usage of (f)suser in kernel
2001-12-05 17:15 [Todo] Remove usage of (f)suser in kernel David Weinehall
@ 2001-12-05 18:14 ` Jeff Garzik
2001-12-05 18:35 ` David Weinehall
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Garzik @ 2001-12-05 18:14 UTC (permalink / raw)
To: David Weinehall; +Cc: Linux-Kernel Mailing List
David Weinehall wrote:
> 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:
[...]
> 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.
We need to kill those in 2.5 I think. s/suser/capable(...)/ has been on
the kernel janitor's list for a while.
Jeff
--
Jeff Garzik | Only so many songs can be sung
Building 1024 | with two lips, two lungs, and one tongue.
MandrakeSoft | - nomeansno
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Todo] Remove usage of (f)suser in kernel
2001-12-05 18:14 ` Jeff Garzik
@ 2001-12-05 18:35 ` David Weinehall
0 siblings, 0 replies; 3+ messages in thread
From: David Weinehall @ 2001-12-05 18:35 UTC (permalink / raw)
To: Jeff Garzik; +Cc: Linux-Kernel Mailing List
On Wed, Dec 05, 2001 at 01:14:16PM -0500, Jeff Garzik wrote:
> David Weinehall wrote:
> > 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:
> [...]
> > 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.
>
> We need to kill those in 2.5 I think. s/suser/capable(...)/ has been on
> the kernel janitor's list for a while.
That was kind of my intention behind this, yes.
/David
_ _
// 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 </
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-12-05 18:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-05 17:15 [Todo] Remove usage of (f)suser in kernel David Weinehall
2001-12-05 18:14 ` Jeff Garzik
2001-12-05 18:35 ` David Weinehall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox