dholland
3cfdfcef43
Clarify the description of the errno behavior, based on the recent
...
thread in tech-userlevel.
2009-07-23 02:54:27 +00:00
dholland
6687b6883d
Mention, along with the behavior of succeeding system calls, the
...
normal behavior of succeeding library functions regarding errno.
(That is, they may leave arbitrary nonzero values in errno.)
Ok kleink@; related to PR lib/41567 as well as a recent thread on
tech-userlevel.
2009-07-23 02:31:56 +00:00
pooka
7982dc729e
Restore error behaviour bulldozed in rev 1.246.
...
might fix PR kern/41769
2009-07-23 01:10:02 +00:00
pooka
c39552c570
return proper errno from mount
2009-07-23 01:01:31 +00:00
alc
3831d4ed46
Bump date.
2009-07-22 22:54:15 +00:00
alc
2f42139c8e
Constify the fourth argument of sysctlbtname(3) (ie. `newp', the pointer to
...
the new value).
This change sync sysctl(3) and sysctlbtname(3) prototypes.
No objection on <tech-userlevel>
2009-07-22 22:53:41 +00:00
joerg
46d5217b8f
Don't set debug for the directory.
2009-07-22 21:35:38 +00:00
pooka
35e55460ba
Since rumpfs can now be used from publically exported routines,
...
convert unsupported checking KASSERTs to return EOPNOTSUPP.
2009-07-22 21:06:56 +00:00
pooka
77d8bc0d04
delint
2009-07-22 21:05:30 +00:00
pooka
d51d08a74d
* catch up with the ukfs changes
...
* leave mounted fs reference counting totally up to le coq grande
and simply force an unmount if the kernel has decided the mountpoint
is not busy
2009-07-22 20:49:28 +00:00
pooka
ee47269736
Since rump rootfs now supports creating directories, mount ukfs
...
mounts at the requested mountpoint instead of as the rump kernel
rootfs. While doing so, generally convert everything to use system
calls instead of handcrafter rump interfaces (e.g. rump_sys_mount()
instead of rump_mnt_mount()). This avoids a lot of unnecessary
fuss.
Change UKFS_DEFAULTMP from / to /ukfs and bump ukfs version.
2009-07-22 20:46:34 +00:00
kleink
9be4603670
Declare strsignal(3) in <string.h>, per POSIX-2008, and adjust
...
documentation accordingly.
Fixes PR standards/41325 from Perry E. Metzger.
2009-07-22 19:48:27 +00:00
wiz
65db08e438
Sort supported hardware by name.
2009-07-22 19:42:15 +00:00
wiz
32550f5f41
Remove unnecessary .Pp.
2009-07-22 19:40:41 +00:00
christos
bafe66c2cc
Only need path if we have issetugid... From Anon Ymous
2009-07-22 18:25:26 +00:00
alc
71b968b692
Bump date
2009-07-22 17:53:20 +00:00
alc
76d965daaa
Update supported chips list.
2009-07-22 17:48:26 +00:00
alc
19be44bd80
HAL redistribution is no longer constrained by specific redistribution rules.
2009-07-22 17:45:54 +00:00
alc
2934de2045
The HAL is no longer a kernel blob, reflect this.
2009-07-22 17:34:56 +00:00
njoly
9e069687a9
Make compat netbsd32 sendmsg follow the native version by allowing
...
empty messages. This let unfdpass regression test work as expected.
2009-07-22 17:19:44 +00:00
roy
43d5eb454b
Prepare curses for the possibility of changing from termcap to terminfo.
...
term.h #defines lines, pad_char and no_color_video macros which conflict
with existing curses code. We change lines to alines and nlines depending
on use, pad_char to padchar and no_color_video becomes no_color_attributes
but with a strong alias from no_color_video.
2009-07-22 16:57:14 +00:00
christos
e304eddfd2
Don't depend on side effects inside an assert
...
From Michael Cook mcook at bbn dot com
2009-07-22 15:58:09 +00:00
christos
cfa16c6369
Fix memory leaks in error paths.
...
From Michael Cook mcook at bbn dot com
2009-07-22 15:57:40 +00:00
christos
83965485c1
Always initialize nread since it is an out param.
...
From Michael Cook mcook at bbn dot com
2009-07-22 15:57:00 +00:00
christos
17a17e3aeb
Move filename to the scope it is being used.
...
From Michael Cook mcook at bbn dot com
2009-07-22 15:56:29 +00:00
njoly
3d5d2c8f61
Make compat linux/linux32 getdents(2) fail with ENOTDIR instead of
...
EINVAL when file descriptor does not refer to a directory.
2009-07-22 15:49:29 +00:00
drochner
d493d48c2e
add a "public domain" note (there is nothing creative justifying a
...
long license)
2009-07-22 15:09:57 +00:00
njoly
b5ed1c3306
Add usr/libdata/debug/usr/tests/lib/libc/string for MKDEBUG build.
2009-07-22 14:24:01 +00:00
wiz
f21bef181d
Add comma in enumeration.
2009-07-22 07:07:27 +00:00
dholland
b58d0cd33a
typo in comment
2009-07-22 04:49:19 +00:00
pooka
22d6f86dee
regen: fh syscalls
2009-07-21 23:59:19 +00:00
pooka
39de73aae0
+fhopen, +fhstatvfs1 RUMP
2009-07-21 23:59:00 +00:00
drochner
55f6a48c74
flag a 64-bit integer constant as "ULL" -- this is not clean but the
...
code around it assumes it anyway
fixes build on 32-bit
2009-07-21 21:45:33 +00:00
drochner
8e73e87c59
remove stray semicolons, makes lint happy and lets the libc build proceed
2009-07-21 19:56:55 +00:00
dyoung
5a4d67314b
Extract a lot of code from dkwedge_del(), and move it to dkwedge_detach()
...
to create a comprehensive detachment hook. Let that hook run at
shutdown. Now, 'drvctl -d dk0' actually deletes a wedge if it is
not in-use (otherwise fails w/ EBUSY), and wedges are gracefully
detached from their "parent" at shutdown.
2009-07-21 19:41:00 +00:00
njoly
7d645a3ea4
Kill unreachable return statement.
2009-07-21 18:50:43 +00:00
njoly
dd5f408241
Do reject unknown/invalid linux clockid.
2009-07-21 18:42:56 +00:00
joerg
11e383c9e8
Include limits.h.
2009-07-21 17:37:51 +00:00
joerg
88ee985652
Don't redefine uint16_t and uint8_t, just use the system includes.
2009-07-21 17:35:17 +00:00
joerg
cb19415914
Make the constant u_longlong too, lint is just too stupid...
2009-07-21 17:14:12 +00:00
joerg
ebf8c87cf8
Some parts of gcc fail with the direct include of sys/inttypes.h, so
...
fall back to using sys/types.h like stdlib.h does.
2009-07-21 16:27:54 +00:00
joerg
9a4b5deb76
Add explicit casts to make lint happy.
2009-07-21 16:10:48 +00:00
dyoung
57ba504b86
device_t/softc split. Compiled, but never run.
2009-07-21 16:04:16 +00:00
tsutsui
5e279a4e0f
No need to clear BSS in kernel itself if there is valid bootinfo,
...
i.e. it's loaded by our native bootloader.
2009-07-21 15:10:39 +00:00
joerg
0578c2ad0f
Move popcount et al to src/common and add popcount32/popcount64.
...
Requested by rmind@. MD should now override popcount32/popcount64 and
provide the aliases as fitting.
2009-07-21 14:55:32 +00:00
tsutsui
e593aba25a
Fix an #ifdef botch in rev 1.214 that causes
...
[ Kernel symbol table invalid! ] message at boot,
which means no ksyms(4) support even on GENERIC kernel.
Should be pulled up to netbsd-4 and netbsd-5.
2009-07-21 14:26:48 +00:00
njoly
f70dbee979
+mount_nilfs.debug
2009-07-21 14:18:50 +00:00
wiz
02079c4a1c
Xref popcount(3).
2009-07-21 13:22:15 +00:00
wiz
345d7916c5
Fix typo, add comma in enumeration.
2009-07-21 13:21:41 +00:00
joerg
974b291a6c
Add popcount(3) and the long and long long version. Name is inspired by
...
gnulib, the implementation goes back to the AMD Software Optimizer
guide. A number of platforms will want to replace the C version with
assembler code using native instructions.
2009-07-21 13:18:43 +00:00