manu
bc210edac8
Fix COMPAT_DARWIN build. This closes PR#31336
2005-10-03 17:11:25 +00:00
he
c6c2d9e696
Suddenly these need explicit inclusion of <sys/socket.h>; they use
...
the MSG_OOB and AF_LINK symbols (among others). Fixes build problem.
2005-09-28 06:40:15 +00:00
chs
8a6025c821
this needs stuff from compat/sys/siginfo.h now, just include it here.
2005-09-27 15:09:04 +00:00
chs
1e20ffb8a1
regen
2005-09-27 15:07:54 +00:00
chs
ad1b7e8d5c
include "opt_compat_sunos.h", netbsd32_syscallargs.h wants it.
2005-09-27 15:07:40 +00:00
chs
94be8205d7
make this compile again.
2005-09-27 14:37:06 +00:00
martin
3faf969174
Adapt to struct vfsops changes during the NFS export rototill.
2005-09-27 13:26:03 +00:00
jmmv
20ac358c50
Instead of trying to clear ufs_args' export member, zero the whole
...
structure so that we don't rely on that (renamed) field. Should fix
the build. Found by he@.
2005-09-24 21:44:15 +00:00
christos
a5d6ab9188
need compat/sys/socket.h
2005-09-24 21:34:35 +00:00
christos
91e84b20b0
make the siginfo converters static and comment out the one that is not used.
2005-09-24 21:34:18 +00:00
christos
6c8e87cff8
add struct forwards.
2005-09-24 21:33:48 +00:00
christos
dd40a9f6f6
include new compat siginfo header.
2005-09-24 17:29:47 +00:00
christos
5c03cd2255
more header cleanup.
2005-09-24 17:27:44 +00:00
christos
ca3a193432
factor out some of the osockaddr, omsghdr code.
2005-09-24 15:51:03 +00:00
chs
33359b3121
need to include sys/socket.h here now, sys/mount.h no longer does it for us.
2005-09-24 15:42:58 +00:00
christos
03ec972e58
maplen was uninitialized.
2005-09-19 02:47:15 +00:00
christos
d359ae5c43
MINSIGSTKSZ on linux is different depending on the platform and usually
...
smaller than ours.
2005-09-19 02:46:49 +00:00
christos
e20c28140a
Add compat signal headers.
2005-09-18 14:30:15 +00:00
yamt
a0bdf5ef81
irix_sys_swapctl: follow uvm_swap_stats changes.
2005-09-17 14:52:55 +00:00
yamt
209478cccf
protect p_nrlwps by sched_lock.
2005-09-17 14:35:51 +00:00
christos
29f3692018
add <compat/sys/signal*.h>
2005-09-16 17:09:52 +00:00
christos
c315b31f19
Fix a comment.
2005-09-15 03:00:16 +00:00
he
70fe9e01e8
This now needs <compat/sys/signal.h> to build.
2005-09-14 13:49:50 +00:00
he
87e3d67bce
This file now needs <compat/sys/stat.h> to build.
2005-09-14 13:49:27 +00:00
christos
ff66f5797e
need linux_syscallargs.h to compile, and remove inline function.
2005-09-13 22:08:21 +00:00
christos
c83d281198
Forgot to reverse the conditional test.
2005-09-13 16:35:24 +00:00
christos
58b392c018
make this compile again.
2005-09-13 03:23:09 +00:00
christos
6acf4b5ca8
add compat netbsd32 context.
2005-09-13 03:22:54 +00:00
christos
063b880cf0
compat code reorg.
2005-09-13 01:42:32 +00:00
christos
49110e63f0
Range checks are not optional. The omission of this one, allows the user
...
to corrupt the heap and/or crash the kernel (Christer Oeberg).
2005-09-12 22:17:49 +00:00
christos
6a2a989266
variable name mistake again.
2005-09-12 22:16:56 +00:00
christos
d9f67be7fe
- Avoid overflow by checking the count argument (Christer Oeberg).
...
- While I am here, don't leak fds either.
2005-09-12 20:54:38 +00:00
jmmv
ec93365612
Initial addition of tmpfs, an efficient memory file-system. This project
...
was developed as part of Google's Summer of Code 2005 program. This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.
The file-system is still *experimental*. Therefore, it is disabled by
default in all kernels. However, as typically done, a commented-out
entry is added in them to ease its setup.
Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.
OK'ed by my project mentor, William Studenmund (wrstuden@).
2005-09-10 19:20:48 +00:00
rpaulo
257017665e
Add a SYSCTL_SETUP_PROTO() so that it compiles fine in the lkm.
2005-09-02 14:34:00 +00:00
he
eb89cd94e9
Now that <ufs/ufsmount.h> includes <ufs/extattr.h>, we also need
...
<sys/vnode.h> and <sys/vnode_if.h> to bring the definition of struct
vop_getextattr_args into scope. Fixes build problem for arc.
2005-08-31 16:01:56 +00:00
he
54e6da6105
Change from using sys___{,f,l}stat13() to sys___{,f,l}stat30() and
...
associated data structures, following the change to 64-bit inodes.
2005-08-22 10:57:04 +00:00
yamt
0ed4057082
linux_machdepioctl: remove duplicated FILE_USE/UNUSE.
2005-08-21 13:13:50 +00:00
kent
868a42c866
fix a compilation problem on NetBSD/amd64
2005-08-20 15:02:36 +00:00
yamt
e4ab81774d
compat_30_sys_getdents: netbsd 1.2 -> 3.0 in comments/messages.
2005-08-19 13:17:37 +00:00
yamt
34dab5e58c
compat_30_sys_getdents: don't leak kernel stack garbage to userland.
2005-08-19 13:16:56 +00:00
christos
4ce7529a64
change a hard-coded 0xf to _DIRENT_ALIGN (thanks yamt)
2005-08-19 06:01:00 +00:00
christos
b041fac92d
Fix lossage I created with the 64 bit ino_t change.
2005-08-19 04:24:38 +00:00
christos
758a209d23
64 bit inode changes.
2005-08-19 02:03:49 +00:00
christos
c0ee8a4184
Fix systeminfo.
...
1. return length is the string length even if the string would not fit.
2. add SI_ISALIST
3. on 32 bit emulation, don't return sparc64 as the arch!
2005-07-28 03:50:52 +00:00
cube
ae35d4a4e9
Regen (__sigtimedwait(2)).
2005-07-23 22:04:12 +00:00
cube
73fe747f11
Implement __sigtimedwait(2).
2005-07-23 22:03:45 +00:00
cube
a6b803a79f
Constify conversion functions.
2005-07-23 21:51:29 +00:00
cube
21472d491b
Regen (timer_create(2) and friends).
2005-07-23 18:57:07 +00:00
cube
23a1110cbd
Implement the timer_create(2) family of syscalls.
2005-07-23 18:56:15 +00:00
cube
ee24060ae4
Remove duplication of code for netbsd32_wait4() by using stackgap(9).
2005-07-22 22:46:29 +00:00