matt
52a3078697
fix some size_t/int confusion.
2000-08-11 22:21:41 +00:00
matt
66617b2137
Add ibcs2_sys_gtty.
2000-08-11 22:20:10 +00:00
matt
ef5099c8d8
Use size_t appropriately.
2000-08-11 22:19:29 +00:00
matt
e4dc804075
Regen.
2000-08-11 22:17:58 +00:00
matt
4153441571
add ibcs2_sys_gtty
2000-08-11 22:14:07 +00:00
tv
1d8f5f2ea3
Pretend to do something useful (just fill in oldsigaction with SIG_IGN and
...
zeroes) if the mapped signal number comes up zero. Previously, sigaction1()
would return an error, confusing some linux apps trying to set handlers for
"all" signals.
2000-08-09 20:20:49 +00:00
itojun
a282297e9a
regen
2000-08-08 02:15:09 +00:00
itojun
eab255c93f
s/#ifdefined/#ifdef/
2000-08-08 02:12:30 +00:00
bjh21
24f9914cb3
Second phase of changes to remove ntp_adjtime(2) from the kernel entirely if
...
NTP is not defined.
Also removes sysctl_ntptime, since that's unreferenced without NTP.
ntp_gettime(2) is left alone, since it doesn't raise SIGSYS, which sys_nosys()
does.
2000-08-07 18:10:20 +00:00
bjh21
a9397f5bfc
Changes to syscalls.master to exclude ntp_adjtime(2) entirely if NTP is not
...
defined. Changes to other files will follow in a moment.
2000-08-07 17:59:33 +00:00
itohy
3630c53733
Add #include <sys/proc.h>, since this file touches members of struct proc.
2000-08-07 02:51:04 +00:00
thorpej
7cc27a88c0
Convert namei pathname buffer allocation to use the pool allocator.
2000-08-03 20:41:05 +00:00
jdolecek
e25636b5da
g/c RB_DFLTROOT
...
I've tried hard to find also various usage() messages and remove the
appropriate flag from there as well, hopefully all occurences are covered.
2000-07-29 20:06:27 +00:00
tron
597ed25d3d
Adoid excessive use of "return" in "excessive()".
2000-07-28 21:49:09 +00:00
tron
db4919f6b7
Use "NULL" and not "0" for null pointers.
2000-07-28 21:38:44 +00:00
mrg
705b50bf32
fix LP64 warnings.
2000-07-27 14:00:56 +00:00
pk
9c601e5c64
lstat: since namei() returns an error (EISDIR) if there is no parent to lock,
...
retry the lookup without LOCKPARENT if that happens. This is safe, since
need to have LOCKPARENT only if the vnode is of type VLNK.
2000-07-26 11:43:07 +00:00
nisimura
7d6022a0db
version[] string was const'ifed. Pointed out by Izumi Tsutsui.
2000-07-20 08:29:41 +00:00
onoe
0dbbd8cec4
implement new signal syscalls in FreeBSD 4.0-RELEASE, using native syscalls:
...
sigaction, sigprocmask, sigsuspend, and sigpending.
2000-07-18 14:15:05 +00:00
enami
9496825ae2
Define an auto variable ``cp'', which is used to scan the global variable
...
``version'', as const char * instead of char * to prevent compiler warning.
2000-07-17 04:04:02 +00:00
thorpej
9d069ade37
Sprinkle some const.
2000-07-14 18:26:46 +00:00
thorpej
195bf5c09f
- Fix the likely cause of the "ps(1) hangs machine" problem. Always
...
vslock the user pages for the data being copied out to userspace,
so that we won't sleep while holding a lock in case we need to
fault the pages in.
- Sprinkle some const and ANSI'ify some things while here.
2000-07-14 07:21:21 +00:00
thorpej
ba40fcada3
Sprinkle in some const.
2000-07-14 07:12:47 +00:00
thorpej
75159452f1
Sync w/ kern_time.c and sys_generic.c
2000-07-13 17:39:03 +00:00
thorpej
c55e09bd44
Add a comment about the hzto() return value.
2000-07-13 17:32:06 +00:00
mrg
d132b13d89
regen
2000-07-09 13:40:20 +00:00
mrg
8f9515257a
- massive warning fix fest.
...
- fix pread/pwrite return values (plus some other syscalls that looked
similarly broken).
- prototypes and clean up for netbsd32_ioctl.c
now getpw*() works under compat32!
2000-07-09 13:39:31 +00:00
mrg
18c0283349
look in /emul/netbsd32 for __stat13() and __lstat13().
2000-07-09 03:03:35 +00:00
augustss
17ac2f03ee
Implement OSS_GETVERSION.
...
Accept mixer values above max (100).
Handle the info from AUDIO_MIXER_DEVINFO properly, parts of it is opaque.
2000-07-04 09:56:14 +00:00
mrg
c48063facd
remove include of <vm/vm.h>
2000-06-29 02:40:37 +00:00
mrg
13f211c52e
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-28 15:39:24 +00:00
matt
3c173d4927
If we loaded an nmagic on a subpage boundary, adjust epp->ep_d{addr,size} so
...
that they start on a page boundary. This is needed so that obreak(2) works
properly.
2000-06-28 00:14:44 +00:00
augustss
040884b5e6
Regen (no difference in generated files, but they were not up-to-date).
2000-06-27 20:59:23 +00:00
mrg
f4e210fb2c
remove redundant vm includes
2000-06-26 15:26:35 +00:00
mrg
89d0a3e519
remove redundant vm includes.
2000-06-26 14:38:50 +00:00
mrg
2f159a1bac
remove/move more mach vm header files:
...
<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>
also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
mrg
c543a66253
remove some redundant <vm/vm_xxx.h> includes
2000-06-25 13:26:19 +00:00
matt
3a447126e3
simply the abutting text/data case.
2000-06-23 22:03:22 +00:00
matt
a0cf752d0c
For omagic & nmagic, add bss size into data magic (needed for brk to work
...
right). Deal with the case that the data segment might fit into all the
trailing part of last text page.
2000-06-21 06:40:04 +00:00
matt
15511d1dcc
Move COFF_LDPGSZ to ibcs2_machdep.h. Fix nmagic loader to deal with
...
subpage mappings.
2000-06-21 05:45:15 +00:00
matt
aef5a7aa9a
Allow dynamic twiddling of debug messages.
...
Fix printf problem when printing debug messages.
fix coff shlib loading. Add a few sanity checks.
2000-06-16 01:56:36 +00:00
oki
37ebc7e168
Fix copyright notice. This file is derived from
...
compat/ibcs2/ibcs2_exec.c, keep the copyright notice.
2000-06-15 15:37:05 +00:00
veego
92c3e3856b
Fix a comment.
2000-06-11 09:21:16 +00:00
veego
589a5222ec
Remove the pcvt support.
2000-06-11 09:19:27 +00:00
oki
41608c00a3
PE/COFF (Win32) compatible binary support (experimental).
...
It currentry supports only i386.
2000-06-09 22:38:56 +00:00
soren
a9aa2abf94
defopt SYSCALL_DEBUG.
2000-06-06 18:52:30 +00:00
soren
7a3db3e7fe
Wrap line.
2000-06-06 18:07:33 +00:00
mycroft
a7c27cd3af
Nothing yet.
2000-06-04 16:29:25 +00:00
mycroft
e9deffe0bf
Move a bunch of the COFF definitions into exec_coff.h, so they can be used by
...
other code. XXX Not tested on SH3 yet.
2000-06-04 16:23:59 +00:00
simonb
38cc1b3975
Add new sysctl node "KERN_SYSVIPC_INFO" with "KERN_SYSVIPC_MSG_INFO",
...
"KERN_SYSVIPC_SEM_INFO" and "KERN_SYSVIPC_SHM_INFO" to return the
info and data structures for the relevent SysV IPC types. The return
structures use fixed-size types and should be compat32 safe. All
user-visible changes are protected with
#if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)
Make all variable declarations extern in msg.h, sem.h and shm.h and
add relevent variable declarations to sysv_*.c and remove unneeded
header files from those .c files.
Make compat14 SysV IPC conversion functions and sysctl_file() static.
Change the data pointer to "void *" in sysctl_clockrate(),
sysctl_ntptime(), sysctl_file() and sysctl_doeproc().
2000-06-02 15:53:03 +00:00