diff options
author | tmm <tmm@FreeBSD.org> | 2004-06-20 17:31:01 +0000 |
---|---|---|
committer | tmm <tmm@FreeBSD.org> | 2004-06-20 17:31:01 +0000 |
commit | 2dca765b97537157da7a9ca3a74a422ad3bdf595 (patch) | |
tree | 4f4aa9f86fd50b5ae4648bc9b9fca4b04d87f134 /sys/kern/sys_socket.c | |
parent | 5c21bd33720a99e6cf3c62eec27d5d2dc648a7e3 (diff) | |
download | FreeBSD-src-2dca765b97537157da7a9ca3a74a422ad3bdf595.zip FreeBSD-src-2dca765b97537157da7a9ca3a74a422ad3bdf595.tar.gz |
Initialize ni_cnd.cn_cred before calling lookup() (this is normally done
by namei(), which cannot easily be used here however). This fixes boot
time crashes on sparc64 and probably other platforms.
Reviewed by: phk
Diffstat (limited to 'sys/kern/sys_socket.c')
0 files changed, 0 insertions, 0 deletions