summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Don't include linux/config.h from anywhere else in include/David Woodhouse2006-04-26836-839/+0
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Don't include <linux/config.h> and <linux/linkage.h> from linux/socket.hDavid Woodhouse2006-04-251-2/+0
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Don't include private headers from user-visible part of linux/ext3_fs.hDavid Woodhouse2006-04-251-5/+2
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Don't include private headers from user-visible part of linux/ext2_fs.hDavid Woodhouse2006-04-251-1/+1
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Don't include private headers from user-visible part of linux/smb_fs.hDavid Woodhouse2006-04-251-2/+2
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Sanitise linux/sunrpc/debug.h for userspace consumptionDavid Woodhouse2006-04-251-13/+12
| | | | | | | Move some inclusion of private header files and the definition of RPC_DEBUG inside the existing #ifdef __KERNEL__ Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Don't export CONFIG_COMPAT stuff in linux/usbdevice_fs.h to userspaceDavid Woodhouse2006-04-251-0/+2
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Don't include <linux/spinlock.h> from user-visible part of linux/wanrouter.hDavid Woodhouse2006-04-251-2/+2
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Move comment in mtd-abi.h to stop confusing unifdefDavid Woodhouse2006-04-251-2/+3
| | | | | | | | | Currently, unifdef removes the comment which starts on the same line as the #ifdef __KERNEL__, but leaves the second line of the comment in place. Move the comment onto a separate line. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Don't include private headers from user-visible part of linux/signal.hDavid Woodhouse2006-04-251-2/+2
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Don't include <asm/atomic.h> from user-visible part of linux/sem.hDavid Woodhouse2006-04-251-1/+1
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Partially sanitise linux/sched.h for userspace consumptionDavid Woodhouse2006-04-251-8/+10
| | | | | | | For now, just make sure all inclusion of private header files is done within #ifdef __KERNEL__. There'll be more to clean up later. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Don't include <linux/list.h> from user-visible part of reiserfs_xattr.hDavid Woodhouse2006-04-251-1/+1
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Don't include private headers from user-visible parts of linux/quota.hDavid Woodhouse2006-04-251-2/+2
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Don't include private headers from user-visible parts of include/linux/nfs*.hDavid Woodhouse2006-04-253-27/+26
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Don't include <linux/stringify> from user-visible part of linux/net.hDavid Woodhouse2006-04-251-1/+1
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Don't include <linux/list.h> from user-visible part of linux/msg.hDavid Woodhouse2006-04-251-1/+1
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Don't include private files from user-visible part of linux/ncp_fs.hDavid Woodhouse2006-04-251-3/+2
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Sanitise linux/mman.h for userspace consumptionDavid Woodhouse2006-04-251-5/+8
| | | | | | | It only really needs to define a few constants and include <asm/mman.h> when it's used by userspace. Move the rest within #ifdef __KERNEL__ Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Remove gratuitous inclusion of <linux/pci.h> from linux/isdn/tpam.hDavid Woodhouse2006-04-251-1/+0
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Don't include <linux/device.h> from user-visible part of linux/ipmi.hDavid Woodhouse2006-04-251-1/+1
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Sanitise linux/i2c.h for userspace consumptionDavid Woodhouse2006-04-251-3/+6
| | | | | | | | It was unconditionally including a whole bunch of headers which aren't user-visible, and also exposing a lot of private internal stuff of its own. Also fix some legacy character set to UTF-8 while we're at it. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Sanitise linux/i2c-algo-ite.h for userspace consumptionDavid Woodhouse2006-04-251-2/+5
| | | | | | | | It doesn't need to include i2c.h, because a forward declaration of struct i2c_adapter is perfectly sufficient. And it can be inside #ifdef __KERNEL__ along with the kernel-internal structure definition. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Include various private files only from within __KERNEL__ in genhd.hDavid Woodhouse2006-04-251-6/+6
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Export only the appropriate GS_xxx flags to userspace from generic_serial.hDavid Woodhouse2006-04-251-2/+4
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Use __KERNEL__ to hide kernel-private bits of linux/gameport.hDavid Woodhouse2006-04-251-0/+6
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Don't include agp_backend.h in user-visible part of agpgart.hDavid Woodhouse2006-04-251-2/+1
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Include <linux/jiffies.h> from linux/acct.h only in kernel-private part.David Woodhouse2006-04-251-1/+1
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Remove user-visible references to PAGE_SIZE in include/asm-powerpc/elf.hDavid Woodhouse2006-04-251-4/+3
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* [NETFILTER]: Fix compat_xt_counters alignment for non-x86Patrick McHardy2006-04-241-0/+4
| | | | | | | | | | | Some (?) non-x86 architectures require 8byte alignment for u_int64_t even when compiled for 32bit, using u_int32_t in compat_xt_counters breaks on these architectures, use u_int64_t for everything but x86. Reported by Andreas Schwab <schwab@suse.de>. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
* [SPARC]: __NR_sys removalOGAWA Hirofumi2006-04-242-2/+2
| | | | | | | | __NR_sys_sync_file_range part was lost somewhere... [glibc is already checking __NR_sync_file_range] Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: David S. Miller <davem@davemloft.net>
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6Linus Torvalds2006-04-234-36/+77
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | * git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6: [PARISC] MAINTAINERS [PARISC] Make ioremap default to _nocache [PARISC] Add new entries to the syscall table [PARISC] Further work for multiple page sizes [PARISC] Fix up hil_kbd.c mismerge [PARISC] defconfig updates [PARISC] Document that we tolerate "Relaxed Ordering" [PARISC] Misc. janitorial work [PARISC] EISA regions must be mapped NO_CACHE [PARISC] OSS ad1889: Match register names with ALSA driver
| * [PARISC] Make ioremap default to _nocacheKyle McMartin2006-04-211-12/+5
| | | | | | | | | | | | | | | | Since it is way more work to change most drivers to comply with parisc, take the easy way out and make ioremap _NO_CACHE by default. This is in line with what powerpc does. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] Add new entries to the syscall tableKyle McMartin2006-04-211-1/+7
| | | | | | | | | | | | | | Most are easy, but sync_file_range needed special handling when entering through the 32-bit syscall table. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
| * [PARISC] Further work for multiple page sizesHelge Deller2006-04-212-23/+65
| | | | | | | | | | | | | | | | | | | | More work towards supporing multiple page sizes on 64-bit. Convert some assumptions that 64bit uses 3 level page tables into testing PT_NLEVELS. Also some BUG() to BUG_ON() conversions and some cleanups to assembler. Signed-off-by: Helge Deller <deller@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* | powerpc: Fix define_machine so machine_is() works from modulesPaul Mackerras2006-04-231-1/+5
| | | | | | | | | | | | | | | | | | machine_is() was always returning 0 when used in a module, because we weren't exporting the machine definitions. This was why sound wasn't working on powermacs when CONFIG_SND_POWERMAC=m. Original fix from Ben Herrenschmidt, further fixed by me. Signed-off-by: Paul Mackerras <paulus@samba.org>
* | [PATCH] powerpc: IOMMU support for honoring dma_maskOlof Johansson2006-04-211-3/+4
|/ | | | | | | | Some devices don't support full 32-bit DMA address space, which we currently assume. Add the required mask-passing to the IOMMU allocators. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
* Merge branch 'upstream-linus' of ↵Linus Torvalds2006-04-201-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (21 commits) [PATCH] wext: Fix RtNetlink ENCODE security permissions [PATCH] bcm43xx: iw_priv_args names should be <16 characters [PATCH] bcm43xx: sysfs code cleanup [PATCH] bcm43xx: fix pctl slowclock limit calculation [PATCH] bcm43xx: fix dyn tssi2dbm memleak [PATCH] bcm43xx: fix config menu alignment [PATCH] bcm43xx wireless: fix printk format warnings [PATCH] softmac: report when scanning has finished [PATCH] softmac: fix event sending [PATCH] softmac: handle iw_mode properly [PATCH] softmac: dont send out packets while scanning [PATCH] softmac: return -EAGAIN from getscan while scanning [PATCH] bcm43xx: set trans_start on TX to prevent bogus timeouts [PATCH] orinoco: fix truncating commsquality RID with the latest Symbol firmware [PATCH] softmac: fix spinlock recursion on reassoc [PATCH] Revert NET_RADIO Kconfig title change [PATCH] wext: Fix IWENCODEEXT security permissions [PATCH] wireless/atmel: send WEXT scan completion events [PATCH] wireless/airo: clean up WEXT association and scan events [PATCH] softmac uses Wiress Ext. ...
| * Merge branch 'upstream-fixes' of ↵Jeff Garzik2006-04-201-1/+2
| |\ | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
| | * [PATCH] softmac: fix event sendingJohannes Berg2006-04-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Softmac is sending custom events to userspace already, but it should _really_ be sending the right WEXT events instead. This patch fixes that. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | | Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6Linus Torvalds2006-04-202-0/+8
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [EBTABLES]: Clean up vmalloc usage in net/bridge/netfilter/ebtables.c [NET]: Add skb->truesize assertion checking. [TCP]: Account skb overhead in tcp_fragment [SUNGEM]: Marvell PHY suspend. [LLC]: Use pskb_trim_rcsum() in llc_fixup_skb(). [NET]: sockfd_lookup_light() returns random error for -EBADFD
| * | [NET]: Add skb->truesize assertion checking.David S. Miller2006-04-202-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add some sanity checking. truesize should be at least sizeof(struct sk_buff) plus the current packet length. If not, then truesize is seriously mangled and deserves a kernel log message. Currently we'll do the check for release of stream socket buffers. But we can add checks to more spots over time. Incorporating ideas from Herbert Xu. Signed-off-by: David S. Miller <davem@davemloft.net>
* | | Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6Linus Torvalds2006-04-202-2/+2
|\ \ \ | | | | | | | | | | | | | | | | * master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6: [SPARC]: __NR_sys_splice --> __NR_splice
| * | | [SPARC]: __NR_sys_splice --> __NR_spliceDavid S. Miller2006-04-192-2/+2
| |/ / | | | | | | | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* | | [PATCH] x86_64: bring back __read_mostly support to linux-2.6.17-rc2Eric Dumazet2006-04-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems latest kernel has a wrong/missing __read_mostly implementation for x86_64 __read_mostly macro should be declared outside of #if CONFIG_X86_VSMP block Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | | [PATCH] i386/x86-64: Fix x87 information leak between processesAndi Kleen2006-04-204-5/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AMD K7/K8 CPUs only save/restore the FOP/FIP/FDP x87 registers in FXSAVE when an exception is pending. This means the value leak through context switches and allow processes to observe some x87 instruction state of other processes. This was actually documented by AMD, but nobody recognized it as being different from Intel before. The fix first adds an optimization: instead of unconditionally calling FNCLEX after each FXSAVE test if ES is pending and skip it when not needed. Then do a x87 load from a kernel variable to clear FOP/FIP/FDP. This means other processes always will only see a constant value defined by the kernel in their FP state. I took some pain to make sure to chose a variable that's already in L1 during context switch to make the overhead of this low. Also alternative() is used to patch away the new code on CPUs who don't need it. Patch for both i386/x86-64. The problem was discovered originally by Jan Beulich. Richard Brunner provided the basic code for the workarounds, with contribution from Jan. This is CVE-2006-1056 Cc: richard.brunner@amd.com Cc: jbeulich@novell.com Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | | [PATCH] memory_hotplug.h cleanupAdrian Bunk2006-04-201-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't have to #if guard prototypes. This also fixes a bug observed by Randy Dunlap due to a misspelled option in the #if. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | | [PATCH] xtensa: Fix TIOCGICOUNT macroChris Zankel2006-04-201-1/+1
|/ / | | | | | | | | | | | | | | | | Remove the dependence on the async_icount structure in the TIOCGICOUNT macro for Xtensa. (Thanks Russell and Adrian for pointing this out) Signed-off-by: Chris Zankel <chris@zankel.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | Merge git://git.linux-nfs.org/pub/linux/nfs-2.6Linus Torvalds2006-04-192-0/+13
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | * git://git.linux-nfs.org/pub/linux/nfs-2.6: SUNRPC: Dead code in net/sunrpc/auth_gss/auth_gss.c NFS: remove needless check in nfs_opendir() NFS: nfs_show_stats; for_each_possible_cpu(), not NR_CPUS NFS: make 2 functions static NFS,SUNRPC: Fix compiler warnings if CONFIG_PROC_FS & CONFIG_SYSCTL are unset NFS: fix PROC_FS=n compile error VFS: Fix another open intent Oops RPCSEC_GSS: fix leak in krb5 code caused by superfluous kmalloc
| * NFS,SUNRPC: Fix compiler warnings if CONFIG_PROC_FS & CONFIG_SYSCTL are unsetTrond Myklebust2006-04-191-0/+1
| | | | | | | | Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
OpenPOWER on IntegriCloud