rittera
98c1d0c0f5
Replaced some #ifdef NDIS_LKM's which were commenting out debugging
...
information with #ifdef NDIS_DBG. Also added a commented out #define NDIS_DBG
to ndis_var.h.
2006-05-29 20:49:03 +00:00
drochner
42a3bd3098
Extend "struct ntptimeval" for the needs of "timecounters".
...
Allocate a new syscall for ntp_gettime() and set up COMPAT_30 for
the old one.
2006-05-29 09:57:54 +00:00
drochner
21166bafa5
regen
2006-05-29 09:46:54 +00:00
drochner
9575ca7cfd
Remove emulation of ntp_gettime. In preparation for "timecounters" we
...
will change "struct ntptimeval", so some translation would be necessary.
ntp_gettine is considered dispensable, the only userland program known
to use it is "ntptime".
2006-05-29 09:44:51 +00:00
simonb
e78022e1d6
Limit the size of any kernel buffers allocated by the VOP_READDIR
...
routines to MAXBSIZE.
2006-05-27 23:46:49 +00:00
rittera
2fb24c8b6d
Added an #ifdef _KERNEL around the #include <sys/device.h>. This is needed
...
because nbcompat.h is included from the user-level ndiscvt utility, which
wouldn't compile due to the indirect inclusion of sys/device.h.
2006-05-26 19:31:35 +00:00
christos
57f1eb7d75
XXX: GCC uninitialized
2006-05-20 22:15:20 +00:00
yamt
175d40d2ca
crfree -> kauth_cred_free.
2006-05-15 22:15:32 +00:00
yamt
cc6a9a01ab
include kauth.h for kauth_cred_getuid, etc.
2006-05-15 22:10:09 +00:00
yamt
9c86170376
include kauth.h for kauth_cred_getgid.
2006-05-15 13:12:13 +00:00
yamt
88f8ec6c15
include kauth.h for kauth_authorize_generic.
2006-05-15 13:11:29 +00:00
yamt
17e49bf47c
include kauth.h for kauth_cred_geteuid, etc.
2006-05-15 13:11:00 +00:00
yamt
576f2b4ce7
fix another kauth mistake.
2006-05-15 13:06:40 +00:00
yamt
1e7ca6733e
include kauth.h for kauth_cred_getegid, etc.
2006-05-15 13:04:08 +00:00
yamt
7395572139
- don't try to use nonexistent variable.
...
- while i'm here, remove unnecessary casts.
2006-05-15 13:01:39 +00:00
yamt
fb7becdc2d
include kauth.h for kauth_authorize_generic, etc.
2006-05-15 12:48:09 +00:00
yamt
17e8de7630
- include kauth.h for kauth_authorize_generic.
...
- wrap a long line.
2006-05-15 09:19:31 +00:00
yamt
6c89e74b38
include kauth.h for kauth_cred_geteuid.
2006-05-15 09:17:05 +00:00
christos
fc6d984beb
kauth fallout
2006-05-15 00:05:16 +00:00
elad
874fef3711
integrate kauth.
2006-05-14 21:19:33 +00:00
christos
fc33769a12
gcc 4 does not like LHS casts.
2006-05-14 05:28:45 +00:00
christos
ca0ec852e6
XXX: GCC uninitialized
2006-05-14 03:40:02 +00:00
mrg
84e6307a04
use socklen_t when talking to the NetBSD side of things
2006-05-12 01:58:55 +00:00
mrg
b569463af0
in pecoff_load_file() make size a u_long to match it's use.
2006-05-11 17:17:00 +00:00
yamt
f5ff7e4897
cleanup user.h.
...
- remove several #include which are not directly related to
this header anymore. tweak *.c accordingly.
- update comments.
- move some !_KERNEL #include to proc.h because it's more appropriate
place these days.
- whitespace.
2006-05-11 11:54:36 +00:00
mrg
43463a5acc
cast to (socklen_t *) where appropriate.
2006-05-11 01:01:13 +00:00
mrg
a07ab709de
cast to (lwpid_t *) where appropriate.
2006-05-11 01:00:43 +00:00
mrg
de67006891
cast to (socklen_t *) where appropriate.
2006-05-11 01:00:02 +00:00
mrg
f068df14bb
use socklen_t where appropriate.
2006-05-11 00:59:10 +00:00
mrg
13e3bbe4e1
add an extra (uintptr_t) cast to NETBSD32TOP.
2006-05-11 00:58:25 +00:00
yamt
f3e4e9f8a2
don't allocate struct statvfs on stack as it's too large.
...
while i'm here, remove some unnecessary casts.
2006-05-10 11:05:34 +00:00
tsutsui
96d1fdec03
Regen from syscalls.master rev 1.15:
...
> Use "#if defined(COMPAT_xx) || !defined(_KERNEL)" so that
> kdump(1) can get all proper syscall names.
2006-05-07 08:41:09 +00:00
tsutsui
97c5ca2016
Use "#if defined(COMPAT_xx) || !defined(_KERNEL)" so that
...
kdump(1) can get all proper syscall names.
2006-05-07 08:39:22 +00:00
tsutsui
0a6d1d8a5c
Update for fhstat(2) versioning.
2006-05-05 13:58:48 +00:00
cube
1233d0b5cd
Move fhstat as sys___fhstat30 in netbsd32_fs.c because it doesn't belong
...
to netbsd32_netbsd.c (which incidentally means it had been broken for a
while I guess). Add compat_30 version.
2006-05-05 13:31:30 +00:00
cube
8332bbc306
Regen (fhstat versioning, posix_fadvise).
2006-05-05 13:29:50 +00:00
cube
8a02261127
Follow on fhstat(2) versioning. While there, add sys_posix_fadvise (no
...
emulation needed there).
2006-05-05 13:28:52 +00:00
cube
a107f9847e
Add compat_30 as a compatopts.
2006-05-05 13:27:29 +00:00
tsutsui
0229d65930
Generate initial aoutm68k_syscalls.c.
2006-05-04 22:30:00 +00:00
tsutsui
3c4442d43e
aoutm68k_syscalls.c is now required by kdump(1).
2006-05-04 22:27:51 +00:00
christos
bc364eb43f
update for fhstat.
2006-05-04 17:56:22 +00:00
christos
89a5572015
Regen
2006-05-04 17:50:28 +00:00
christos
9ec9aed92e
fhstat needs to be versioned too (for ino_t). Pointed out by Izumi Tsutsui
2006-05-04 17:48:56 +00:00
christos
cffd112ba3
regen
2006-05-04 17:23:00 +00:00
christos
6507871e48
Add compat30 getdents. Pointed out by Izumi Tsutsui.
2006-05-04 17:22:43 +00:00
rittera
a7d881767a
replaced all device_printf()'s in compat/ndis/ with printf()
2006-04-24 00:23:41 +00:00
drochner
2f9ef14bcf
make this compile w/o KTRACE,
...
resolves PR kern/33212 by KIYOHARA Takashi
2006-04-07 09:23:16 +00:00
drochner
9242c10539
in sysinfo(), force NUL termination of truncated
...
strings if the buffer was too small, as OSF1 does
2006-04-06 15:45:20 +00:00
drochner
61f5f2c87d
-Consistently check the buffer length in getsysinfo(),
...
and require one additional byte for string termination
in the GSI_PLATFORM_NAME case.
This should fix PR kern/33198 by Nicolas Joly.
-Make sysinfo() behave more like the original: return
the length needed and copy out as much as possible.
2006-04-05 15:30:48 +00:00
macallan
f8e479a39b
correct a typo
2006-04-02 17:09:01 +00:00