From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Linux FSdevel <linux-fsdevel@vger.kernel.org>,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] Initial support for struct vfs_cred [0/1]
Date: Sat, 31 Aug 2002 18:32:33 +0200 [thread overview]
Message-ID: <15728.61345.184030.293634@charged.uio.no> (raw)
Hi Linus,
I hope this addresses all the issues that you raised (minus
user_struct, as I explained). Changes w.r.t. previous patches are as
follows:
1) Dropped current_fsuid(), current_fsgid(), current_ngroups().
=> had to merge patches [1/3] & [3/3]. Makes for a rather large
initial patch (see diffstat output below) 8-(
2) 'struct ucred' renamed to 'struct vfs_cred'. Renamed the
helper routines to reflect the new struct name.
3) Moved #ifdef __KERNEL__
4) Renamed the remaining current_* routines so as to drop the
'current_' prefix where appropriate (e.g. setfsuid() instead of
current_setfsuid(), ...).
Hopefully the naming scheme will be seen as an improvement.
5) Dropped patch [2/3]. There is no longer a namespace conflict
to justify renaming the networking code's 'struct ucred'.
Cheers,
Trond
arch/s390x/kernel/linux32.c | 9
arch/sparc64/kernel/sys_sparc32.c | 9
drivers/hotplug/pci_hotplug_core.c | 4
drivers/isdn/capi/capifs.c | 4
drivers/usb/core/inode.c | 4
fs/affs/inode.c | 4
fs/attr.c | 6
fs/bfs/dir.c | 4
fs/coda/coda_linux.c | 6
fs/devpts/inode.c | 4
fs/dquot.c | 2
fs/driverfs/inode.c | 4
fs/exec.c | 6
fs/ext2/balloc.c | 2
fs/ext2/ialloc.c | 4
fs/ext2/ioctl.c | 4
fs/ext3/balloc.c | 2
fs/ext3/ialloc.c | 4
fs/ext3/ioctl.c | 4
fs/file_table.c | 8
fs/hpfs/namei.c | 24 -
fs/intermezzo/file.c | 13 -
fs/intermezzo/journal.c | 54 ++--
fs/intermezzo/kml_reint.c | 12
fs/intermezzo/upcall.c | 2
fs/intermezzo/vfs.c | 4
fs/jffs/inode-v23.c | 28 +-
fs/jffs2/fs.c | 4
fs/jfs/jfs_inode.c | 4
fs/lockd/host.c | 7
fs/locks.c | 2
fs/minix/bitmap.c | 4
fs/namei.c | 8
fs/nfsd/auth.c | 11
fs/nfsd/vfs.c | 4
fs/open.c | 17 -
fs/pipe.c | 4
fs/proc/array.c | 11
fs/proc/base.c | 4
fs/ramfs/inode.c | 4
fs/reiserfs/namei.c | 4
fs/sysv/ialloc.c | 4
fs/udf/ialloc.c | 4
fs/udf/namei.c | 2
fs/ufs/ialloc.c | 4
fs/umsdos/namei.c | 8
include/linux/cred.h | 88 ++++++
include/linux/init_task.h | 1
include/linux/sched.h | 8
init/main.c | 1
kernel/Makefile | 5
kernel/cred.c | 468 +++++++++++++++++++++++++++++++++++++
kernel/fork.c | 17 +
kernel/kmod.c | 6
kernel/sys.c | 65 ++---
kernel/uid16.c | 9
mm/shmem.c | 8
net/socket.c | 4
net/sunrpc/auth_unix.c | 55 ++--
net/sunrpc/sched.c | 2
security/capability.c | 4
security/dummy.c | 5
62 files changed, 835 insertions(+), 252 deletions(-)
next reply other threads:[~2002-08-31 16:28 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-31 16:32 Trond Myklebust [this message]
2002-08-31 18:57 ` Luca Barbieri
2002-08-31 19:36 ` Linus Torvalds
2002-08-31 19:38 ` Luca Barbieri
2002-08-31 22:30 ` Trond Myklebust
2002-08-31 23:13 ` Luca Barbieri
2002-09-01 13:03 ` Trond Myklebust
2002-09-01 14:10 ` Trond Myklebust
2002-09-01 14:20 ` Luca Barbieri
2002-09-01 16:40 ` Trond Myklebust
2002-09-01 18:54 ` Luca Barbieri
2002-09-01 19:40 ` Trond Myklebust
2002-09-01 21:34 ` Luca Barbieri
2002-09-01 21:56 ` Trond Myklebust
2002-09-01 22:50 ` Luca Barbieri
[not found] ` <20020903034607.GF29452@ravel.coda.cs.cmu.edu>
2002-09-08 22:04 ` Luca Barbieri
2002-09-09 6:22 ` Jan Harkes
2002-09-09 11:17 ` Luca Barbieri
2002-09-01 14:33 ` Luca Barbieri
2002-09-01 16:38 ` Trond Myklebust
2002-09-01 18:42 ` Luca Barbieri
2002-09-01 19:25 ` Trond Myklebust
2002-09-01 21:36 ` Luca Barbieri
2002-09-01 15:15 ` Daniel Phillips
2002-09-01 15:35 ` Luca Barbieri
2002-08-31 19:51 ` Luca Barbieri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15728.61345.184030.293634@charged.uio.no \
--to=trond.myklebust@fys.uio.no \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®