freebsd-dev/sys
Tim J. Robbins a95edcba94 Fix a multitude of security bugs in the iBCS2 emulator:
- Return NULL instead of returning memory outside of the stackgap
  in stackgap_alloc() (FreeBSD-SA-00:42.linux)
- Check for stackgap_alloc() returning NULL in ibcs2_emul_find();
  other calls to stackgap_alloc() have not been changed since they
  are small fixed-size allocations.
- Replace use of strcpy() with strlcpy() in exec_coff_imgact()
  to avoid buffer overflow
- Use strlcat() instead of strcat() to avoid a one byte buffer
  overflow in ibcs2_setipdomainname()
- Use copyinstr() instead of copyin() in ibcs2_setipdomainname()
  to ensure that the string is null-terminated
- Avoid integer overflow in ibcs2_setgroups() and ibcs2_setgroups()
  by checking that gidsetsize argument is non-negative and
  no larger than NGROUPS_MAX.
- Range-check signal numbers in ibcs2_wait(), ibcs2_sigaction(),
  ibcs2_sigsys() and ibcs2_kill() to avoid accessing array past
  the end (or before the start)
2003-10-12 04:25:26 +00:00
..
alpha Implement preliminary support for the PT_SYSCALL command to ptrace(2). 2003-10-09 10:17:16 +00:00
amd64 Implement preliminary support for the PT_SYSCALL command to ptrace(2). 2003-10-09 10:17:16 +00:00
arm
boot
cam (dacleanup, dasysctlinit): Defend against calling sysctl_ctx_free on 2003-10-08 07:12:30 +00:00
coda Include <sys/mutex.h>. Don't depend on namespace pollution in <sys/vnode.h>. 2003-10-05 07:44:45 +00:00
compat Fix some problems in linux_sendmsg() and linux_recvmsg(). 2003-10-11 15:08:32 +00:00
conf Free the SCSI cd major number 2003-10-06 09:13:08 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r120925, 2003-10-09 03:02:46 +00:00
crypto switch cast128 implementation to implementation by Steve Reid; 2003-10-10 15:06:16 +00:00
ddb
dev The code that was meant to test alignment of the register offset 2003-10-11 22:20:34 +00:00
fs Include <sys/mutex.h>. Don't depend on namespace pollution in <sys/vnode.h>. 2003-10-05 07:44:45 +00:00
geom Interior decoration changes. 2003-10-07 09:28:07 +00:00
gnu - File systems that wish to inspect the vnode contents or their private 2003-10-05 06:43:03 +00:00
i4b
i386 Fix a multitude of security bugs in the iBCS2 emulator: 2003-10-12 04:25:26 +00:00
ia64 Implement preliminary support for the PT_SYSCALL command to ptrace(2). 2003-10-09 10:17:16 +00:00
isa
isofs/cd9660 - Don't cache_purge() in cd9660_reclaim. vclean() does it for us so 2003-10-05 02:45:36 +00:00
kern - Fix a typo, I meant & and not |. This was causing lockups from the syncer 2003-10-11 21:50:45 +00:00
libkern
modules MFp4: Change struct fw_xfer to reduce memory copy in fwmem_*() functions. 2003-10-02 04:06:56 +00:00
net fix braino: null the pointer who's memory we just free'd, not some other 2003-10-11 04:48:35 +00:00
net80211
netatalk
netatm
netgraph
netinet - fix typo in comment. 2003-10-07 17:46:18 +00:00
netinet6 fixed an endian bug on fragment header scanning 2003-10-10 19:49:52 +00:00
netipsec MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
netipx
netkey nuke unused ICMPV6CTL_NAMES and KEYCTL_NAMES macros. 2003-10-07 15:14:33 +00:00
netnatm
netncp
netsmb
nfs
nfsclient Since the addition of the VI_DOINGINACT flag some time ago, 2003-10-05 12:41:35 +00:00
nfsserver - Set the sopt_dir member of the sockopt structure, otherwise, this parameter 2003-10-04 17:37:51 +00:00
opencrypto
pc98 MFi386: revision 1.576. 2003-10-11 09:24:58 +00:00
pccard
pci Sanitize the code relating to the /dev/ti%d entries. In particular evict 2003-10-10 20:35:28 +00:00
posix4
powerpc Move pmap_resident_count() from the MD pmap.h to the MI pmap.h. 2003-10-06 01:47:12 +00:00
rpc
security Use __BEGIN_DECLS and __END_DECLS around userland function prototypes 2003-10-02 03:07:51 +00:00
sparc64 Add an 'include' directive to pull in <sys/ptrace.h>. 2003-10-10 10:31:48 +00:00
sys Implement preliminary support for the PT_SYSCALL command to ptrace(2). 2003-10-09 10:17:16 +00:00
tools
ufs - My last commit to this file is still not safe, I believe that it may be 2003-10-06 03:28:03 +00:00
vm Lock the destination object in vm_fault_copy_entry(). 2003-10-08 07:11:19 +00:00
Makefile