kleink
c77a008cc2
Replace the waitfor' argument to the fsync vnode operator with a
flags'
...
argument.
1998-06-05 19:38:56 +00:00
kleink
4c3bf73d01
Regen: mlock() and munlock() prototype changes.
1998-05-30 22:23:30 +00:00
kleink
bb7e6a0bdd
Per XSH98, const'ify the `addr' arguments to mlock() and munlock().
1998-05-30 22:21:03 +00:00
kleink
2a4b2482f5
Permit checking the availability of the POSIX File Synchronization Option
...
(a/k/a fsync(2)), System V style message queues, semaphores and shared memory
at runtime by adding a sysctl variable for each.
1998-05-24 19:52:01 +00:00
matt
b2c24dbcbe
Add an if_drain to the ifnet structure (call when the system is low
...
on mbufs). Add code to m_reclaim to call if_drain in each ifnet
that has one set. Remove register from declarations.
1998-05-22 17:47:21 +00:00
thorpej
ad7a87400a
defopt LOCKDEBUG
1998-05-20 01:32:29 +00:00
pk
d0e85dde99
Inline vref/vrele in vclean() because:
...
* we already have the vnode interlock, so vref() should not ask for it again.
* we call VOP_RECLAIM/VOP_INACTIVE(), which shouldn't be duplicated in vrele().
1998-05-18 14:59:49 +00:00
pk
addb5d9572
VOP_CLOSE() takes F* flags, not IO_* flags.
1998-05-08 21:02:35 +00:00
kleink
fe2d01988e
Fix some arithmetics lossage on typeless pointers.
1998-05-08 18:18:55 +00:00
kleink
bd6d376a49
Various SysV IPC prototype changes.
1998-05-07 18:00:49 +00:00
kleink
fb27bb18d3
Regen: various SysV IPC prototype changes.
1998-05-07 17:24:30 +00:00
kleink
e3611654cd
Several SYSV IPC prototype changes.
1998-05-07 17:08:42 +00:00
enami
9ad895e33c
Backout previous issignal() change so that gdb can trace a process
...
which has subprocess again; the lite2 change conflicts our local change.
1998-05-07 00:45:16 +00:00
thorpej
7f21dfafc1
Add monotonically increasing "current time" stamps for pfslowtimo() and
...
pffasttimo().
1998-05-06 01:11:46 +00:00
christos
1efd649b47
Regen
1998-05-02 18:34:13 +00:00
christos
02cecf686a
New fktrace syscall from Darren Reed [with fixes from me]
1998-05-02 18:33:19 +00:00
thorpej
73863dd3c9
Pass vslock() and vsunlock() a proc *, rather than implicitly operating
...
on curproc.
1998-04-30 06:28:57 +00:00
mycroft
f327fee4ca
Fix KTROP_CLEARFILE so it does the same thing as KTROP_CLEAR (i.e. vrele()
...
rather than vn_close()). Fixes PR 5357.
1998-04-28 22:27:22 +00:00
kleink
82eb51ee05
In soshutdown(), decouple the evaluation of the `how' argument from FREAD
...
and FWRITE; use SHUT_{RD,WR,RDWR} instead.
Also, return EINVAL if `how' is invalid.
1998-04-27 13:31:45 +00:00
thorpej
7a239c12c6
In vfs_unmountall(), if curproc is NULL, abort, because unmounting
...
puts the requesting process to sleep until the file systems buffers
have flushed, and sleeping with a NULL curproc will cause a fault.
1998-04-26 19:10:33 +00:00
thorpej
cbc64bb02d
Make vfs_shutdown() look a little nicer.
1998-04-26 18:58:54 +00:00
mycroft
359fa37f9a
Fix a condition where we might erroneously write out a buffer with garbage
...
left in it.
Fixes PR 5354.
1998-04-26 14:45:23 +00:00
matthias
818f5df269
new command "config" to set type (for c), constraint and printmodifier.
1998-04-25 19:48:27 +00:00
matt
754c43dcfc
Hook for 0-copy (or other optimized) sends and receives
1998-04-25 17:35:18 +00:00
jonathan
6c0abe64fc
defopt NTP and PPS_SYNC, in preparation for adding PPS support.
1998-04-22 07:08:11 +00:00
thorpej
2018d40811
Allocate kernel virtual address space for the U-area before allocating
...
the new proc structure when performing a fork. This makes it much
easier to abort a fork operation and return an error if we run out
of KVA space.
The U-area pages are still wired down in {,u}vm_fork(), as before.
1998-04-09 00:23:38 +00:00
mycroft
ca63148e3d
Oops; forgot to update prototype.
1998-03-30 06:18:05 +00:00
mycroft
f1ed6cae04
Argument to main() is no longer used.
1998-03-30 06:15:44 +00:00
mrg
af54a244f4
add missing int to typedef
1998-03-30 02:32:38 +00:00
mrg
f0fc5e8ca7
remove register from decl.
1998-03-29 05:19:43 +00:00
kleink
5d9a1f3207
Regen: syscalls.master changed.
1998-03-27 13:09:52 +00:00
kleink
3a1500efe9
Per X/Open CAE Spec Issue 5 Version 2, change the buffer size argument of
...
readlink() from type `int' to type `size_t'. This isn't an ABI change, since
the calling convention of our only LP64 platform (the Alpha) already promotes
this argument to a `long'.
This may not be the final action on this matter; readlink() still returns
an `int', which may change in a future revision of the standard.
1998-03-27 13:02:20 +00:00
thorpej
b436157e65
Make proc0 use the statically-allocate vmspace0 again, and make it use
...
the kernel's pmap, since proc0 (and other that share its address space)
are kernel-only processes, and should never contain userspace mappings.
This makes it easier to detect errors, like entering user mappings
for kernel processes, in pmap modules, and makes some sense, considering
that kernel processes are really just "thread contexts" for the kernel.
1998-03-27 01:52:01 +00:00
thorpej
272d8a4a38
Process 2 (the pagedaemon) always runs in kernel space, so share VM
...
space with proc0.
1998-03-22 18:22:07 +00:00
mycroft
2bb5067e13
Move the code to wait for carrier on a tty into a common function, since it
...
depends only on device-independent state bits.
Implement SunOS-style `dialout' devices.
1998-03-22 00:55:37 +00:00
mycroft
2ada4b4af1
Replace TS_WOPEN with t_wopen, per mail on tech-kern.
1998-03-21 04:02:47 +00:00
kleink
071ab13ebb
Move the permission check in change_owner() back to ufs_vnops::ufs_chown()
...
again - the facility required in this context would be a filesystem-specific
super-user determination, which is not available yet. Also, add some
clarification to a comment.
1998-03-10 11:49:33 +00:00
fvdl
1d02bb10d8
Clarify vget() comment a bit.
1998-03-04 09:13:48 +00:00
thorpej
9ebbb62608
Export spechash_slock; it's used outside of vfs_subr.c
1998-03-03 02:22:00 +00:00
thorpej
0080eaa0f5
Don't panic if DIAGNOSTIC in cluster_rbuild() if we aren't able to shed
...
memory in a buffer returned by geteblk(). Instrument the number of
occurrences.
1998-03-02 19:28:07 +00:00
ross
94ae870894
Compile post-lite2 with #ifndef DIAGNOSTIC
1998-03-01 09:51:29 +00:00
fvdl
78447a3cfd
Regen.
1998-03-01 02:29:59 +00:00
fvdl
e5bc90f40c
Merge with Lite2 + local changes
1998-03-01 02:20:01 +00:00
perry
a5385186b1
regen
1998-02-25 21:30:36 +00:00
perry
56c01cbd82
change second parm of sysarch() from char * to void *
1998-02-25 21:24:56 +00:00
chuck
5ad9218203
fix uvm-related protection error: we can't write protect the
...
vmcmd_map_readvn() area until after we do vn_rdwr(). should fix
problem reported by sean doran.
1998-02-23 18:53:22 +00:00
hannken
1bb761e96f
Didn't compile with option MEMORY_DISK_HOOKS.
1998-02-22 12:53:53 +00:00
mycroft
28e8037334
Fix missing newline in time zone warning.
1998-02-20 07:22:14 +00:00
pk
201f7cf6b4
Add option to use "static" storage provided by the caller.
...
From Matthias Drochner.
1998-02-19 23:51:48 +00:00
thorpej
95cd40bf13
Regen; makesyscalls.sh changed
1998-02-19 03:31:11 +00:00