1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/sys/compat
Alexander Leidinger 555f86b8b6 The linux times syscall can be called with a NULL pointer, so keep cool
and don't panic.

This fix is different from the patch submitted as it not only prevents
a NULL-pointer dereference, but also skips some work in this case.

Noticed by:	Dmitry Ganenko <dima@apk-inform.com>
Reviewed by:	rdivacky (the original version as in emulation@)
MFC after:	1 week
Security:	This is a RELENG_x_y candidate (local DoS).
Go ahead by:	secteam (cperciva)
2006-06-23 18:49:38 +00:00
..
freebsd32 Do not copy out the iovec in the 32bit recvmsg call since soreceive 2006-06-08 18:33:08 +00:00
ia32 Remove kern.elf32.can_exec_dyn sysctl. Instead extend Brandinfo structure 2005-12-26 21:23:57 +00:00
linprocfs Add the model name, obtained from the hw.model sysctl variable. 2006-06-12 18:14:49 +00:00
linsysfs Remove the dependency on procfs since it isn't used. 2006-05-11 15:27:58 +00:00
linux The linux times syscall can be called with a NULL pointer, so keep cool 2006-06-23 18:49:38 +00:00
ndis Move conditional preprocessing out of the SYSCTL_ADD_STRING macro 2006-06-22 13:11:36 +00:00
netbsd Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
pecoff remove dead code 2005-02-22 01:26:48 +00:00
svr4 Annotate uses of fgetsock() with indications that they should rely 2006-04-01 15:25:01 +00:00