- 13 Jun, 2003 8 commits
-
-
Chris Wright authored
Patch from Jakub Jelínek <jakub@redhat.com> Make sure setfsuid/setfsgid return values are right. Before include/linux/security.h was added, setfsuid/setfsgid always returned old_fsuid, no matter if the fsuid was actually changed or not. With the default security ops it seems to do the same, because both security_task_setuid and security_task_post_setuid return 0, but these are hooks which seem to return 0 on success, -errno on failure, so if some non-default security hook is installed and ever returns -errno in setfsuid/setfsgid, -errno will be returned from the syscall instead of the expected old_fsuid. This makes it hard to distinguish uids 0xfffff001 .. 0xffffffff from errors of security hooks.
-
Chris Wright authored
-
Chris Wright authored
The task_kmod_set_label hook is no longer necessary. kmod is now handled by keventd which already does reparent_to_init, so there is no need to worry about getting the security labels right for code running off the keventd workqueue.
-
Chris Wright authored
As discussed before, this allows for early initialization of security modules when compiled statically into the kernel. The standard do_initcalls is too late for complete coverage of all filesystems and threads, for example.
-
Roland McGrath authored
As per Linus' proposal: make special macros for the user-accessible fixmap, simplifying access checks to make it trivial to handle ia64 issues.
-
bk://kernel.bkbits.net/gregkh/linux/tty-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Andrew Morton authored
Once the blockdev inode for /dev/ram0 is dirtied we have a memory-backed inode on the blockdev superblock's s_dirty list. sync_sb_inodes() sees the memory-backed inode on the superblock and assumes that all the other inodes on the superblock are also memory-backed. This is not true for the blockdev superblock! We forget to write out dirty pages against the following blockdevs. Fix this by just leaving the inode dirty and moving on to inspect the other blockdev inodes on sb->s_io. (This is a little inefficient: an alternative is to leave dirtied memory-backed inodes on inode_in_use, so nobody ever even considers them for writeout. But that introduces an inconsistency and is a bit kludgey).
-
Kurt Robideau authored
Here is rocket driver patch against 2.5.70-bk18. Changes are: - Removed non-GPL license text from headers - Removed check_region()/request_region() raciness - Made the driver a >2.5 driver only (as you had suggested)
-
- 12 Jun, 2003 2 commits
-
-
Linus Torvalds authored
already being unhashed on entry.
-
Linus Torvalds authored
as we delete the entry, we can only poison the back pointer, not the traversal pointer (rcu traversal only ever walks forward). Make __d_drop() take this into account.
-
- 11 Jun, 2003 30 commits
-
-
http://nfsclient.bkbits.net/linux-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Alexander Viro authored
drivers/char/pty.c converted to dynamic allocation
-
Alexander Viro authored
drivers/char/rio/rio_linux.c converted to dynamic allocation
-
Alexander Viro authored
drivers/char/epca.c converted to dynamic allocation
-
Alexander Viro authored
arch/v850/kernel/{memcons,simcons}.c converted to dynamic allocation
-
Alexander Viro authored
drivers/char/vt.c converted to dynamic allocation
-
Alexander Viro authored
arch/um/drivers/* converted to dynamic allocation
-
Alexander Viro authored
arch/cris/drivers/serial.c converted to dynamic allocation
-
Alexander Viro authored
arch/alpha/kernel/srmcons.c converted to dynamic allocation
-
Alexander Viro authored
drivers/s390/char/con3215.c converted to dynamic allocation
-
Alexander Viro authored
drivers/s390/char/sclp_tty.c converted to dynamic allocation
-
Alexander Viro authored
drivers/s390/char/tubtty.c converted to dynamic allocation
-
Alexander Viro authored
drivers/s390/net/ctctty.c converted to dynamic allocation
-
Alexander Viro authored
drivers/isdn/capi/capi.c converted to dynamic allocation
-
Alexander Viro authored
arch/mips/baget/vacserial.c converted to dynamic allocation
-
Alexander Viro authored
arch/ppc/8xx_io/uart.c converted to dynamic allocation
-
Alexander Viro authored
arch/ppc/8260_io/uart.c converted to dynamic allocation
-
Alexander Viro authored
drivers/usb/serial/usb-serial.c converted to dynamic allocation
-
Alexander Viro authored
drivers/char/ip2main.c converted to dynamic allocation
-
Alexander Viro authored
arch/mips/au1000/common/serial.c converted to dynamic allocation
-
Alexander Viro authored
arch/ia64/hp/sim/simserial.c converted to dynamic allocation
-
Alexander Viro authored
arch/ppc/4xx_io/serial_sicc.c converted to dynamic allocation
-
Alexander Viro authored
drivers/usb/class/cdc-acm.c converted to dynamic allocation
-
Alexander Viro authored
drivers/char/esp.c converted to dynamic allocation
-
Alexander Viro authored
drivers/usb/class/bluetty.c converted to dynamic allocation
-
Alexander Viro authored
drivers/isdn/i4l/isdn_tty.c converted to dynamic allocation
-
Alexander Viro authored
drivers/char/hvc_console.c converted to dynamic allocation
-
Alexander Viro authored
drivers/char/pcmcia/synclink_cs.c converted to dynamic allocation
-
Alexander Viro authored
drivers/char/synclinkmp.c converted to dynamic allocation
-
Alexander Viro authored
drivers/char/synclink.c converted to dynamic allocation
-