freebsd-nq/sys/compat
Konstantin Belousov 6c82a991c3 In linprocfs_doargv():
- handle compat32 processes;
- remove the checks for copied in addresses to belong into valid
  usermode range, proc_rwmem() does this;
- simplify loop reading single string, limit the total amount of strings
  collected by ARG_MAX bytes;
- correctly add '\0' at the end of each copied string;
- fix style.

In linprocfs_doprocenviron():
- unlock the process before calling copyin code [1]. The process is held
  by pseudofs.

In linprocfs_doproccmdline:
- use linprocfs_doargv() to handle !curproc case for which p_args is not cached.

Reported by:		plulnet [1]
Tested by:		pluknet
Approved by:		des (linprocfs maintainer, previous
				version of the patch)
MFC after:		3 weeks
2010-09-28 11:32:17 +00:00
..
freebsd32 Supply some useful information to the started image using ELF aux vectors. 2010-08-17 08:55:45 +00:00
ia32 Reorganize syscall entry and leave handling. 2010-05-23 18:32:02 +00:00
linprocfs In linprocfs_doargv(): 2010-09-28 11:32:17 +00:00
linsysfs
linux Replace sbuf_overflowed() with sbuf_error(), which returns any error 2010-09-10 16:42:16 +00:00
ndis ANSIfy prototypes in subr_usbd.c. 2010-06-12 12:19:08 +00:00
netbsd
svr4 Remove proc locking, it's not needed after r210132. 2010-07-17 15:52:11 +00:00
x86bios Add x86bios_set_intr() to set interrupt vectors for real mode and simplify 2010-08-25 21:03:50 +00:00