+ hdrinstall-remove-asm-atomich-from-user-visibility.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     hdrinstall: remove asm/atomic.h from user visibility

has been added to the -mm tree.  Its filename is

     hdrinstall-remove-asm-atomich-from-user-visibility.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: hdrinstall: remove asm/atomic.h from user visibility
From: David Woodhouse <dwmw2@xxxxxxxxxxxxx>

This isn't suitable for userspace to see -- the kernel headers are not a
random library of stuff for userspace; they're only there to define the
kernel<->user ABI for system libraries and tools.  Anything which _was_
abusing asm/atomic.h from userspace was probably broken anyway -- as it often
didn't even give atomic operation.

Signed-off-by: David Woodhouse <dwmw2@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/asm-generic/Kbuild.asm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN include/asm-generic/Kbuild.asm~hdrinstall-remove-asm-atomich-from-user-visibility include/asm-generic/Kbuild.asm
--- a/include/asm-generic/Kbuild.asm~hdrinstall-remove-asm-atomich-from-user-visibility
+++ a/include/asm-generic/Kbuild.asm
@@ -5,7 +5,7 @@ unifdef-y += a.out.h auxvec.h byteorder.
 	statfs.h termbits.h termios.h timex.h types.h unistd.h user.h
 
 # These really shouldn't be exported
-unifdef-y += atomic.h io.h
+unifdef-y += io.h
 
 # These probably shouldn't be exported
 unifdef-y += elf.h page.h
_

Patches currently in -mm which might be from dwmw2@xxxxxxxxxxxxx are

git-gfs2.patch
git-hdrcleanup-vs-git-klibc-on-ia64.patch
git-hdrcleanup-vs-git-klibc-on-ia64-2.patch
git-mtd.patch
mtd-maps-ixp4xx-partition-parsing.patch
hdrinstall-remove-asm-irqh-from-user-visibility.patch
hdrinstall-remove-asm-atomich-from-user-visibility.patch
hdrinstall-remove-asm-ioh-from-user-visibility.patch
the-scheduled-removal-of-some-oss-drivers-fix-fix.patch
debug-shared-irqs.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux