07 Oct, 2012

1 commit

  • Pull pstore changes from Anton Vorontsov:

    1) We no longer ad-hoc to the function tracer "high level"
    infrastructure and no longer use its debugfs knobs. The change
    slightly touches kernel/trace directory, but it got the needed ack
    from Steven Rostedt:

    http://lkml.org/lkml/2012/8/21/688

    2) Added maintainers entry;

    3) A bunch of fixes, nothing special.

    * tag 'for-v3.7' of git://git.infradead.org/users/cbou/linux-pstore:
    pstore: Avoid recursive spinlocks in the oops_in_progress case
    pstore/ftrace: Convert to its own enable/disable debugfs knob
    pstore/ram: Add missing platform_device_unregister
    MAINTAINERS: Add pstore maintainers
    pstore/ram: Mark ramoops_pstore_write_buf() as notrace
    pstore/ram: Fix printk format warning
    pstore/ram: Fix possible NULL dereference

    Linus Torvalds
     

06 Oct, 2012

29 commits

  • Convert cpu_to_beXX(beXX_to_cpu(E1) + E2) to use beXX_add_cpu().

    dpatch engine is used to auto generate this patch.
    (https://github.com/weiyj/dpatch)

    Signed-off-by: Wei Yongjun
    Acked-by: Bob Copeland
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Wei Yongjun
     
  • This cleanup also fixes the following sparse warning:

    fs/proc/root.c:64:45: warning: Using plain integer as NULL pointer

    Signed-off-by: Sachin Kamat
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Sachin Kamat
     
  • The use of if (!head) BUG(); can be replaced with the single line
    BUG_ON(!head).

    Signed-off-by: Prasad Joshi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Prasad Joshi
     
  • Part of the memory will be written twice after this change, but that
    should be negligible.

    [akpm@linux-foundation.org: fix __proc_create() coding-style issues, remove unneeded zero-initialisations]
    Signed-off-by: yan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Yan
     
  • proc_get_inode() obtains the inode via a call to iget_locked().
    iget_locked() calls alloc_inode() which will call proc_alloc_inode() which
    clears proc_inode.fd, so there is no need to clear this field in
    proc_get_inode().

    If iget_locked() instead found the inode via find_inode_fast(), that inode
    will not have I_NEW set so this change has no effect.

    Signed-off-by: yan
    Cc: Al Viro
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Yan
     
  • If proc_get_inode() returns NULL then presumably it encountered memory
    exhaustion. proc_lookup_de() should return -ENOMEM in this case, not
    -EINVAL.

    Signed-off-by: yan
    Cc: Ryan Mallon
    Cc: Cong Wang
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Yan
     
  • This note has the following format:

    long count -- how many files are mapped
    long page_size -- units for file_ofs
    array of [COUNT] elements of
    long start
    long end
    long file_ofs
    followed by COUNT filenames in ASCII: "FILE1" NUL "FILE2" NUL...

    Signed-off-by: Denys Vlasenko
    Cc: Oleg Nesterov
    Cc: Amerigo Wang
    Cc: "Jonathan M. Foote"
    Cc: Roland McGrath
    Cc: Pedro Alves
    Cc: Fengguang Wu
    Cc: Stephen Rothwell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Denys Vlasenko
     
  • Existing PRSTATUS note contains only si_signo, si_code, si_errno fields
    from the siginfo of the signal which caused core to be dumped.

    There are tools which try to analyze crashes for possible security
    implications, and they want to use, among other data, si_addr field from
    the SIGSEGV.

    This patch adds a new elf note, NT_SIGINFO, which contains the complete
    siginfo_t of the signal which killed the process.

    Signed-off-by: Denys Vlasenko
    Reviewed-by: Oleg Nesterov
    Cc: Amerigo Wang
    Cc: "Jonathan M. Foote"
    Cc: Roland McGrath
    Cc: Pedro Alves
    Cc: Fengguang Wu
    Cc: Stephen Rothwell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Denys Vlasenko
     
  • This is a preparatory patch for the introduction of NT_SIGINFO elf note.

    With this patch we pass "siginfo_t *siginfo" instead of "int signr" to
    do_coredump() and put it into coredump_params. It will be used by the
    next patch. Most changes are simple s/signr/siginfo->si_signo/.

    Signed-off-by: Denys Vlasenko
    Reviewed-by: Oleg Nesterov
    Cc: Amerigo Wang
    Cc: "Jonathan M. Foote"
    Cc: Roland McGrath
    Cc: Pedro Alves
    Cc: Fengguang Wu
    Cc: Stephen Rothwell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Denys Vlasenko
     
  • Cosmetic. Change setup_new_exec() and task_dumpable() to use
    SUID_DUMPABLE_ENABLED for /bin/grep.

    [akpm@linux-foundation.org: checkpatch fixes]
    Signed-off-by: Oleg Nesterov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Oleg Nesterov
     
  • Some coredump handlers want to create a core file in a way compatible with
    standard behavior. Standard behavior with fs.suid_dumpable = 2 is to
    create core file with uid=gid=0. However, there was no way for coredump
    handler to know that the process being dumped was suid'ed.

    This patch adds the new %d specifier for format_corename() which simply
    reports __get_dumpable(mm->flags), this is compatible with
    /proc/sys/fs/suid_dumpable we already have.

    Addresses https://bugzilla.redhat.com/show_bug.cgi?id=787135

    Developed during a discussion with Denys Vlasenko.

    Signed-off-by: Oleg Nesterov
    Cc: Denys Vlasenko
    Cc: Alex Kelly
    Cc: Andi Kleen
    Cc: Cong Wang
    Cc: Jiri Moskovcak
    Acked-by: Neil Horman
    Cc: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Oleg Nesterov
     
  • Create a new header file, fs/coredump.h, which contains functions only
    used by the new coredump.c. It also moves do_coredump to the
    include/linux/coredump.h header file, for consistency.

    Signed-off-by: Alex Kelly
    Reviewed-by: Josh Triplett
    Acked-by: Serge Hallyn
    Acked-by: Kees Cook
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alex Kelly
     
  • Adds an expert Kconfig option, CONFIG_COREDUMP, which allows disabling of
    core dump. This saves approximately 2.6k in the compiled kernel, and
    complements CONFIG_ELF_CORE, which now depends on it.

    CONFIG_COREDUMP also disables coredump-related sysctls, except for
    suid_dumpable and related functions, which are necessary for ptrace.

    [akpm@linux-foundation.org: fix binfmt_aout.c build]
    Signed-off-by: Alex Kelly
    Reviewed-by: Josh Triplett
    Acked-by: Serge Hallyn
    Acked-by: Kees Cook
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alex Kelly
     
  • [akpm@linux-foundation.org: checkpatch fixes]
    Signed-off-by: Namjae Jeon
    Signed-off-by: Amit Sahrawat
    Acked-by: OGAWA Hirofumi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Namjae Jeon
     
  • #define FAT_ENT_EOF(EOF_FAT32)

    there is no need to reset value of 'new' for FAT32 as the values is
    already correct

    Signed-off-by: Namjae Jeon
    Signed-off-by: Amit Sahrawat
    Acked-by: OGAWA Hirofumi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Namjae Jeon
     
  • 1: Stop any lines going over 80 characters
    2: Remove a blank line before EXPORT_SYMBOL_GPL

    Signed-off-by: Cruz Julian Bishop
    Acked-by: OGAWA Hirofumi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cruz Julian Bishop
     
  • 1: Import linux/uaccess.h instead of asm.uaccess.h
    2: Stop any lines going over 80 characters
    3: Stopped setting any variables in if statements
    4: Stopped splitting quoted strings
    5: Removed unneeded parentheses

    Signed-off-by: Cruz Julian Bishop
    Acked-by: OGAWA Hirofumi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cruz Julian Bishop
     
  • Simply remove the spacing between function definitions and
    EXPORT_SYMBOL_GPL calls, which were previously generating warnings.

    Signed-off-by: Cruz Julian Bishop
    Acked-by: OGAWA Hirofumi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cruz Julian Bishop
     
  • This does the following:
    1: Splits the arguments of a function call to stop it
    from exceeding 80 characters
    2: Re-indents the arguments of another function call
    to prevent the splitting of a quoted string.

    Signed-off-by: Cruz Julian Bishop
    Acked-by: OGAWA Hirofumi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cruz Julian Bishop
     
  • The comments were not lined up properly, so I just re-indented them.

    This also fixes a stupid checkpatch issue unknowingly

    Signed-off-by: Cruz Julian Bishop
    Acked-by: OGAWA Hirofumi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cruz Julian Bishop
     
  • Mainly fix spacing issues such as "foo * bar" and "foo= bar"

    Signed-off-by: Cruz Julian Bishop
    Acked-by: OGAWA Hirofumi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cruz Julian Bishop
     
  • Add a space before an equals sign/operator in line 410.

    Signed-off-by: Cruz Julian Bishop
    Acked-by: OGAWA Hirofumi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cruz Julian Bishop
     
  • Maintain an index of directory inodes by starting cluster, so that
    fat_get_parent() can return the proper cached inode rather than inventing
    one that cannot be traced back to the filesystem root.

    Add a new msdos/vfat binary mount option "nfs" so that FAT filesystems
    that are _not_ exported via NFS are not saddled with maintenance of an
    index they will never use.

    Finally, simplify NFS file handle generation and lookups. An
    ext2-congruent implementation is adequate for FAT needs.

    Signed-off-by: Steven J. Magnani
    Acked-by: OGAWA Hirofumi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Steven J. Magnani
     
  • Under memory pressure, the system may evict dentries from cache. When the
    FAT driver receives a NFS request involving an evicted dentry, it is
    unable to reconnect it to the filesystem root. This causes the request to
    fail, often with ENOENT.

    This is partially due to ineffectiveness of the current FAT NFS
    implementation, and partially due to an unimplemented fh_to_parent method.
    The latter can cause file accesses to fail on shares exported with
    subtree_check.

    This patch set provides the FAT driver with the ability to
    reconnect dentries. NFS file handle generation and lookups are simplified
    and made congruent with ext2.

    Testing has involved a memory-starved virtual machine running 3.5-rc5 that
    exports a ~2 GB vfat filesystem containing a kernel tree (~770 MB, ~40000
    files, 9 levels). Both 'cp -r' and 'ls -lR' operations were performed
    from a client, some overlapping, some consecutive. Exports with
    'subtree_check' and 'no_subtree_check' have been tested.

    Note that while this patch set improves FAT's NFS support, it does not
    eliminate ESTALE errors completely.

    The following should be considered for NFS clients who are sensitive to ESTALE:

    * Mounting with lookupcache=none
    Unfortunately this can degrade performance severely, particularly for deep
    filesystems.

    * Incorporating VFS patches to retry ESTALE failures on the client-side,
    such as https://lkml.org/lkml/2012/6/29/381

    * Handling ESTALE errors in client application code

    This patch:

    Move NFS-related code into its own C file. No functional changes.

    Signed-off-by: Steven J. Magnani
    Acked-by: OGAWA Hirofumi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Steven J. Magnani
     
  • Use accessor function for msdos_dir_entry 'start'

    Signed-off-by: Namjae Jeon
    Signed-off-by: Amit Sahrawat
    Acked-by: OGAWA Hirofumi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Namjae Jeon
     
  • Convert cpu_to_leXX(leXX_to_cpu(E1) + E2) to use leXX_add_cpu().

    dpatch engine is used to auto generate this patch.
    (https://github.com/weiyj/dpatch)

    Signed-off-by: Wei Yongjun
    Cc: Mikulas Patocka
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Wei Yongjun
     
  • load_elf_interp() has interp_map_addr carefully described as
    "uninitialized_var" and marked so as to avoid a warning. However if you
    trace the code it is passed into load_elf_interp and then this value is
    checked against NULL.

    As this return value isn't used this is actually safe but it freaks
    various analysis tools that see un-initialized memory addresses being read
    before their value is ever defined.

    Set it to NULL as a matter of programming good taste if nothing else

    Signed-off-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • Enhanced epoll_ctl to support EPOLL_CTL_DISABLE, which disables an epoll
    item. If epoll_ctl doesn't return -EBUSY in this case, it is then safe to
    delete the epoll item in a multi-threaded environment. Also added a new
    test_epoll self- test app to both demonstrate the need for this feature
    and test it.

    Signed-off-by: Paton J. Lewis
    Cc: Alexander Viro
    Cc: Jason Baron
    Cc: Paul Holland
    Cc: Davide Libenzi
    Cc: Michael Kerrisk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paton J. Lewis
     
  • To avoid name conflicts:

    drivers/video/riva/fbdev.c:281:9: sparse: preprocessor token MAX_LEVEL redefined

    While at it, also make the other names more consistent and add
    parentheses.

    [akpm@linux-foundation.org: repair fallout]
    [sfr@canb.auug.org.au: IB/mlx4: fix for MAX_ID_MASK to MAX_IDR_MASK name change]
    Signed-off-by: Fengguang Wu
    Cc: Bernd Petrovitsch
    Cc: walter harms
    Cc: Glauber Costa
    Signed-off-by: Stephen Rothwell
    Cc: Roland Dreier
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Fengguang Wu
     

05 Oct, 2012

1 commit

  • Pull ext3 & udf fixes from Jan Kara:
    "Shortlog pretty much says it all.

    The interesting bits are UDF support for direct IO and ext3 fix for a
    long standing oops in data=journal mode."

    * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
    jbd: Fix assertion failure in commit code due to lacking transaction credits
    UDF: Add support for O_DIRECT
    ext3: Replace 0 with NULL for pointer in super.c file
    udf: add writepages support for udf
    ext3: don't clear orphan list on ro mount with errors
    reiserfs: Make reiserfs_xattr_handlers static

    Linus Torvalds
     

03 Oct, 2012

9 commits

  • Pull JFS update from Dave Kleikamp:
    "JFS TRIM support and some minor fixes"

    * tag 'jfs-3.7' of git://github.com/kleikamp/linux-shaggy:
    jfs: Fix do_div precision in commit b40c2e66
    JFS: use list_move instead of list_del/list_add
    jfs: Remove obsolete email address
    fs/jfs: TRIM support for JFS Filesystem

    Linus Torvalds
     
  • Pull security subsystem updates from James Morris:
    "Highlights:

    - Integrity: add local fs integrity verification to detect offline
    attacks
    - Integrity: add digital signature verification
    - Simple stacking of Yama with other LSMs (per LSS discussions)
    - IBM vTPM support on ppc64
    - Add new driver for Infineon I2C TIS TPM
    - Smack: add rule revocation for subject labels"

    Fixed conflicts with the user namespace support in kernel/auditsc.c and
    security/integrity/ima/ima_policy.c.

    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: (39 commits)
    Documentation: Update git repository URL for Smack userland tools
    ima: change flags container data type
    Smack: setprocattr memory leak fix
    Smack: implement revoking all rules for a subject label
    Smack: remove task_wait() hook.
    ima: audit log hashes
    ima: generic IMA action flag handling
    ima: rename ima_must_appraise_or_measure
    audit: export audit_log_task_info
    tpm: fix tpm_acpi sparse warning on different address spaces
    samples/seccomp: fix 31 bit build on s390
    ima: digital signature verification support
    ima: add support for different security.ima data types
    ima: add ima_inode_setxattr/removexattr function and calls
    ima: add inode_post_setattr call
    ima: replace iint spinblock with rwlock/read_lock
    ima: allocating iint improvements
    ima: add appraise action keywords and default rules
    ima: integrity appraisal extension
    vfs: move ima_file_free before releasing the file
    ...

    Linus Torvalds
     
  • Pull ubifs changes from Artem Bityutskiy:
    "No big changes for 3.7 in UBIFS:
    - Error reporting and debug printing improvements
    - Power cut emulation fixes
    - Minor cleanups"

    Fix trivial conflict in fs/ubifs/debug.c due to the user namespace
    changes.

    * tag 'upstream-3.7-rc1' of git://git.infradead.org/linux-ubifs:
    UBIFS: print less
    UBIFS: use pr_ helper instead of printk
    UBIFS: comply with coding style
    UBIFS: use __aligned() attribute
    UBIFS: remove __DATE__ and __TIME__
    UBIFS: fix power cut emulation for mtdram
    UBIFS: improve scanning debug output
    UBIFS: always print full error reports
    UBIFS: print PID in debug messages

    Linus Torvalds
     
  • Pull xfs update from Ben Myers:
    "Several enhancements and cleanups:

    - make inode32 and inode64 remountable options
    - SEEK_HOLE/SEEK_DATA enhancements
    - cleanup struct declarations in xfs_mount.h"

    * tag 'for-linus-v3.7-rc1' of git://oss.sgi.com/xfs/xfs:
    xfs: Make inode32 a remountable option
    xfs: add inode64->inode32 transition into xfs_set_inode32()
    xfs: Fix mp->m_maxagi update during inode64 remount
    xfs: reduce code duplication handling inode32/64 options
    xfs: make inode64 as the default allocation mode
    xfs: Fix m_agirotor reset during AG selection
    Make inode64 a remountable option
    xfs: stop the sync worker before xfs_unmountfs
    xfs: xfs_seek_hole() refinement with hole searching from page cache for unwritten extents
    xfs: xfs_seek_data() refinement with unwritten extents check up from page cache
    xfs: Introduce a helper routine to probe data or hole offset from page cache
    xfs: Remove type argument from xfs_seek_data()/xfs_seek_hole()
    xfs: fix race while discarding buffers [V4]
    xfs: check for possible overflow in xfs_ioc_trim
    xfs: unlock the AGI buffer when looping in xfs_dialloc
    xfs: kill struct declarations in xfs_mount.h
    xfs: fix uninitialised variable in xfs_rtbuf_get()

    Linus Torvalds
     
  • Pull vfs update from Al Viro:

    - big one - consolidation of descriptor-related logics; almost all of
    that is moved to fs/file.c

    (BTW, I'm seriously tempted to rename the result to fd.c. As it is,
    we have a situation when file_table.c is about handling of struct
    file and file.c is about handling of descriptor tables; the reasons
    are historical - file_table.c used to be about a static array of
    struct file we used to have way back).

    A lot of stray ends got cleaned up and converted to saner primitives,
    disgusting mess in android/binder.c is still disgusting, but at least
    doesn't poke so much in descriptor table guts anymore. A bunch of
    relatively minor races got fixed in process, plus an ext4 struct file
    leak.

    - related thing - fget_light() partially unuglified; see fdget() in
    there (and yes, it generates the code as good as we used to have).

    - also related - bits of Cyrill's procfs stuff that got entangled into
    that work; _not_ all of it, just the initial move to fs/proc/fd.c and
    switch of fdinfo to seq_file.

    - Alex's fs/coredump.c spiltoff - the same story, had been easier to
    take that commit than mess with conflicts. The rest is a separate
    pile, this was just a mechanical code movement.

    - a few misc patches all over the place. Not all for this cycle,
    there'll be more (and quite a few currently sit in akpm's tree)."

    Fix up trivial conflicts in the android binder driver, and some fairly
    simple conflicts due to two different changes to the sock_alloc_file()
    interface ("take descriptor handling from sock_alloc_file() to callers"
    vs "net: Providing protocol type via system.sockprotoname xattr of
    /proc/PID/fd entries" adding a dentry name to the socket)

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (72 commits)
    MAX_LFS_FILESIZE should be a loff_t
    compat: fs: Generic compat_sys_sendfile implementation
    fs: push rcu_barrier() from deactivate_locked_super() to filesystems
    btrfs: reada_extent doesn't need kref for refcount
    coredump: move core dump functionality into its own file
    coredump: prevent double-free on an error path in core dumper
    usb/gadget: fix misannotations
    fcntl: fix misannotations
    ceph: don't abuse d_delete() on failure exits
    hypfs: ->d_parent is never NULL or negative
    vfs: delete surplus inode NULL check
    switch simple cases of fget_light to fdget
    new helpers: fdget()/fdput()
    switch o2hb_region_dev_write() to fget_light()
    proc_map_files_readdir(): don't bother with grabbing files
    make get_file() return its argument
    vhost_set_vring(): turn pollstart/pollstop into bool
    switch prctl_set_mm_exe_file() to fget_light()
    switch xfs_find_handle() to fget_light()
    switch xfs_swapext() to fget_light()
    ...

    Linus Torvalds
     
  • This function is used by sparc, powerpc and arm64 for compat support.
    The patch adds a generic implementation which calls do_sendfile()
    directly and avoids set_fs().

    The sparc architecture has wrappers for the sign extensions while
    powerpc relies on the compiler to do the this. The patch adds wrappers
    for powerpc to handle the u32->int type conversion.

    compat_sys_sendfile64() can be replaced by a sys_sendfile() call since
    compat_loff_t has the same size as off_t on a 64-bit system.

    On powerpc, the patch also changes the 64-bit sendfile call from
    sys_sendile64 to sys_sendfile.

    Signed-off-by: Catalin Marinas
    Acked-by: David S. Miller
    Cc: Arnd Bergmann
    Cc: Benjamin Herrenschmidt
    Cc: Paul Mackerras
    Cc: Alexander Viro
    Cc: Andrew Morton
    Signed-off-by: Al Viro

    Catalin Marinas
     
  • There's no reason to call rcu_barrier() on every
    deactivate_locked_super(). We only need to make sure that all delayed rcu
    free inodes are flushed before we destroy related cache.

    Removing rcu_barrier() from deactivate_locked_super() affects some fast
    paths. E.g. on my machine exit_group() of a last process in IPC
    namespace takes 0.07538s. rcu_barrier() takes 0.05188s of that time.

    Signed-off-by: Kirill A. Shutemov
    Cc: Al Viro
    Signed-off-by: Andrew Morton
    Signed-off-by: Al Viro

    Kirill A. Shutemov
     
  • All increments and decrements are under the same spinlock - have to be,
    since they need to protect the radix_tree it's found in. Just use
    int, no need to wank with kref...

    Signed-off-by: Al Viro

    Al Viro
     
  • This prepares for making core dump functionality optional.

    The variable "suid_dumpable" and associated functions are left in fs/exec.c
    because they're used elsewhere, such as in ptrace.

    Signed-off-by: Alex Kelly
    Reviewed-by: Josh Triplett
    Acked-by: Serge Hallyn
    Acked-by: Kees Cook
    Signed-off-by: Andrew Morton
    Signed-off-by: Al Viro

    Alex Kelly