matt
54df2d7161
Convert atalksw to structure initializers.
2007-02-18 23:06:11 +00:00
ad
d3e0294550
Eliminate 2 unnecessary loads.
2007-02-18 23:02:32 +00:00
matt
58aa85753d
Initialize routeswitch with structure initializers.
2007-02-18 22:46:32 +00:00
rmind
07f5c15ae5
Enable sdiff(1) in usr.bin, disable GNU sdiff(1).
...
lists seems to be compatible.
2007-02-18 22:44:44 +00:00
pooka
12999dc43c
fix rename (yes, it's really that simple)
2007-02-18 22:42:33 +00:00
pooka
45bd3a1031
* oh, and when removing, remove the target node, not its parent directory
...
* use PUFFS_KFLAG_NOCACHE always for now, since code is too jumpy and
volatile to deal with caches
2007-02-18 22:30:59 +00:00
rmind
5533f1ebfd
PR/34630: GNU sdiff(1) replacement
...
Import new sdiff(1). Compatible with GNU sdiff(1), has various bugfixes
and licensed in public domain.
christos@: "I am ok with it"
No objections in tech-userlevel@
2007-02-18 22:13:42 +00:00
pooka
c82c131e9f
* map reclaim to release, but call it only for files which were opened
...
* use node paths in remove/rmdir instead of pcn full paths (which are
null for those ops)
2007-02-18 22:08:42 +00:00
rmind
e3179c1bea
Introduce table of contents for core references. Please note, that in
...
future one should follow such hierarchy:
1. Table of contents (only intro.9)
2. Abstract description of subsystems (e.g. memoryallocators.9)
3. Concrete description of subsystem (e.g. vmem.9)
Thanks tsutsui@ for better structurization and wiz@ for quick review.
OK by tech-kern@ positivism.
2007-02-18 21:45:30 +00:00
ad
e434239e70
Export __SIMPLELOCK_LOCKED, __SIMPLELOCK_UNLOCKED.
2007-02-18 21:32:48 +00:00
macallan
3b01cf7c93
"unsmoke crack"
...
from mrg and ad
2007-02-18 21:14:52 +00:00
ad
7cfa6abfaf
More signals/locking changes.
2007-02-18 21:10:32 +00:00
ad
be01a71411
+ mb_memory()
2007-02-18 21:07:40 +00:00
matt
c77b6c330d
Add IPL_SOFT
2007-02-18 21:04:21 +00:00
matt
7a2b6251f2
Adapt to newlock2
2007-02-18 21:04:01 +00:00
matt
ac1041d913
Move declaration of spl_smasks. make spl_smasks and soft_interrupts static.
2007-02-18 21:03:22 +00:00
matt
c47c836ecb
Equate mb_write and mb_read to drain_writebuf (from cpu.h)
2007-02-18 21:01:50 +00:00
pooka
e8d4536f16
in create, if op.create doesn't exist, try op.mknod instead
2007-02-18 20:38:07 +00:00
pooka
2da757310f
if doing VOP_CREATE via sys_mknod, set va_rdev to VNOVAL instead of 0
2007-02-18 20:36:36 +00:00
ad
063adfba9b
Sync signal delivery routines with i386. sendsig_reset() was not being
...
called, and so delivered signals were not being masked.
From cube@, with minor mods by me.
2007-02-18 20:22:25 +00:00
briggs
069c9702dd
Adapt to newlock2.
2007-02-18 20:05:20 +00:00
ad
42a7dff463
procfs_map():
...
- Drop the target's vm_map lock before calling uiomove(). We could
deadlock if inspecting /proc/curproc/map.
- If the vm_map might have changed, restart the operation, but give
up after 250 retries if the map keeps changing. XXX This is not
ideal.
2007-02-18 20:03:44 +00:00
briggs
04a29fca2b
Adapt to newlock2.
2007-02-18 19:59:25 +00:00
pooka
2deb71d45f
Support creating regular files with mknod(2) to match Linux/Solaris
...
behaviour. This happens if mode contains S_IFREG. mknod(2) is
still restricted to the superuser.
no objections from tech-kern
2007-02-18 19:57:29 +00:00
martin
1c144699b5
Make use of another call delay slot, pointed out by uwe.
2007-02-18 19:09:36 +00:00
degroote
9e2b4bf469
Always free the sav, not only in the mature case
2007-02-18 18:58:17 +00:00
pooka
a24db39ba5
move getdir() location to match layout of real fuse operations
2007-02-18 18:47:40 +00:00
briggs
470fb10317
Add arm/atomic.h
2007-02-18 18:47:36 +00:00
martin
420d0debfd
Make use of a call delay slot and avoid a bogus EMPTY.
...
Spotted by Juergen Hannken-Illjes, with input from Andrew Doran and
Valeriy E. Ushakov.
2007-02-18 18:30:06 +00:00
martin
7bb9e12996
Whitespace cosmetics
2007-02-18 18:25:40 +00:00
martin
13e6855e81
Backout previous: EMPTY was misused
2007-02-18 18:23:58 +00:00
dsl
eeeb3c2624
Get config(1) to supply the default parameters for BEEP_ON_HALT.
2007-02-18 18:20:26 +00:00
christos
731b8a1ee4
SHA512_Last is not public anymore.
2007-02-18 18:16:24 +00:00
dsl
5c89b1866e
Get config(1) to supply the default values for BEEP_ONHALT.
2007-02-18 18:15:41 +00:00
christos
ace49726e7
Make SHA512_Last static since it is not part of the API. Suggested by
...
Matthias Scheler
2007-02-18 18:13:38 +00:00
dsl
a1ab8f91ce
Add commented out entries for SYSCALL_STATS and SYSCALL_TIMES
2007-02-18 18:05:52 +00:00
agc
3d88835937
Added extra functionality:
...
fuse_opt_free_args()
fuse_exit()
Both from Juan RP - thanks!
2007-02-18 17:44:57 +00:00
pooka
8022394bca
Until someone can sort non-priviledged mounts and kauth, force
...
MNT_NOSUID | MNT_NODEV for mounts with geteuid() != 0. I'm tired
of typing them on the command line every time I test a file system.
2007-02-18 17:38:10 +00:00
pooka
b681c2611b
dump return values for operations
2007-02-18 17:36:48 +00:00
dsl
eebb2036b8
Document 'systat syscall'.
2007-02-18 17:29:26 +00:00
ad
4de88fa799
Drop proc::p_smutex before calling cpu_getmcontext().
2007-02-18 17:11:27 +00:00
dsl
49c5f0e9e5
Include code to display per system call counts and times.
2007-02-18 17:00:08 +00:00
dsl
d64834e4f1
Add code to support per-system call statistics:
...
option SYSCALL_STATS counts the number of times each system call is made
option SYSCALL_TIMES counts the amount of time spent in each system call
Currently the counting hooks have only been added to the i386 system call
handler, and the time spent in interrupts is not subtracted.
It ought also be possible to add the times to the processes profiling
counters in order to get a more accurate user/system/interrupt split.
The counts themselves are readable via the sysctl interface.
2007-02-18 16:58:15 +00:00
ad
987a3f27ee
Add missing headers.
2007-02-18 16:56:44 +00:00
ad
e2147a0dfd
+ mutex.h, rwlock.h
2007-02-18 16:25:44 +00:00
ad
85fc2680c6
+ mutex.h
2007-02-18 16:24:31 +00:00
ad
237f052be3
+ mutex.h, rwlock.h
2007-02-18 16:18:25 +00:00
hannken
61eeb25754
Fix typo in last: Pk_32 -> PK_32
2007-02-18 16:17:26 +00:00
dsl
ff6d800c8f
Optimise canonicalisation of l_rtime for the case when the start and stop
...
times are in the same second.
2007-02-18 16:03:06 +00:00
briggs
5f2083f440
Install atomic.h, as needed by the installed rwlock.h.
2007-02-18 15:53:55 +00:00