reinoud
e0760a5e85
Clarify description of the msgrcv() return value. I kept on misreading it for
...
some reason. This ought to clarify it a bit more.
2012-05-15 11:37:01 +00:00
wiz
2e352fbff8
Remove unneeded commas in table.
...
From Bug Hunting.
2012-05-13 15:47:38 +00:00
njoly
3956fa9ae1
Small typo.
2012-05-11 17:14:12 +00:00
khorben
b15b1c08b5
Extended usb_hid_usages, with help from the equivalent file from FreeBSD.
...
Favored NetBSD upon conflicts, except for a typo and consistency.
ok riz@
2012-05-09 16:21:06 +00:00
wiz
4739fc03e4
Adapt to repository move of dist from external/bsd/bzip2 to
...
external/bsd/bzip2/dist.
2012-05-07 08:51:47 +00:00
wiz
3815d29a7f
Finish move of bzip2 from dist/bzip2 to external/bsd/bzip2.
2012-05-07 00:35:25 +00:00
dholland
d66ac51d84
Mark these obsolete as well.
2012-05-05 21:24:19 +00:00
dholland
cf2f172048
Bump date for previous.
2012-05-05 21:18:43 +00:00
dholland
aa368b88e1
Describe these as obsolete.
2012-05-05 21:14:55 +00:00
christos
a898920ce2
Add tgamma{,f} from FreeBSD via rudolf, netbsd at eq dot cz
2012-05-05 17:54:13 +00:00
christos
a4deae0de5
fix typo, WARNS=5
2012-05-05 15:57:45 +00:00
christos
2cb8b46c96
avoid using cpp variadic macros and explain why.
2012-05-05 15:04:57 +00:00
joerg
1ffe43311f
Do not depend on failing malloc to set errno
2012-05-04 16:45:05 +00:00
joerg
615642201d
Drop obsolete pthread restriction.
2012-05-04 12:28:03 +00:00
joerg
8050d45d71
Simplify check for TLS definition to not hide code. Drop it in another
...
place as it is redundant.
2012-05-04 12:26:33 +00:00
christos
73e25da1dd
- match regular ioctl prototype (3rd argument is optional)
...
- fix lint issues
2012-05-04 11:48:12 +00:00
christos
b7d2912934
test for both NUL and _POSIX_VDISABLE, because _POSIX_VDISABLE propagation
...
between different daemons and OS's does not seem reliable.
2012-05-02 14:36:07 +00:00
agc
1a27c54f9a
re-work the previous to make it format correctly
2012-05-02 04:23:09 +00:00
agc
142f8d12eb
document the correct argument to wstandout(3) and wstandend(3)
2012-05-01 17:32:58 +00:00
enami
3cdda33922
Store allocated lwpctl state in the thread actually forked,
...
which is the only thread lives in the child process.
The problem originally reported here:
https://bugs.ruby-lang.org/issues/6341
2012-04-26 00:21:44 +00:00
christos
37a2b6f0c2
use setenv so that we don't leak memory.
2012-04-22 15:55:41 +00:00
wiz
1cc71411f8
Sort SEE ALSO.
2012-04-22 10:13:52 +00:00
roy
27c1dc0dc5
Fix build
2012-04-21 14:39:35 +00:00
roy
258cf0abec
Add capfile(5) to describe the termcap format.
...
Adjust various man pages and other documentation to point to capfile(5)
instead of termcap(5).
Remove getcap(3) as curses hasn't been building it for a long time.
Punt wrterm.c as tset no longer uses it.
2012-04-21 12:27:24 +00:00
blymn
35253f4b16
Fix build break if curses is built without wide char support
2012-04-21 11:33:16 +00:00
blymn
0f995dfd31
Remove trailing whitespace
2012-04-21 11:31:59 +00:00
christos
0bcf0d6f44
PR/46360: YAMAMOTO Takashi: Restore NetBSD-5 compatibility with putenv()
...
copying the passed string (which is not ToG compliant), instead of using
it directly in the environment arrat as it should. Needs to be pulled up
to NetBSd-6.
2012-04-20 17:31:29 +00:00
wiz
d2ca09c94d
Bump date for previous.
...
New sentence, new line; remove trailing whitespace; fix typos;
punctuation nits.
2012-04-18 14:24:26 +00:00
martin
91d93016c8
poll(), pollts() and select() all return int values, but in the hijack
...
emulation of them these get passed as exit values from a pthread as
a void* (c.f. pthread_join(), pthread_exit()).
Do not use the address of an int variable for these, but provide the address
of a void* and assign the value afterwards.
Fixes hijacking of pollts/select on 64bit big endian hosts.
Spotted by and fix from pooka.
2012-04-18 10:37:37 +00:00
manu
70d8192475
- When using PUFFS_KFLAG_CACHE_FS_TTL, do not use puffs_node to carry
...
attribute and TTL fora newly created node. Instead extend puffs_newinfo
and add puffs_newinfo_setva() and puffs_newinfo_setttl()
- Remove node_mk_common_final in libperfuse. It used to set uid/gid for
a newly created vnode but has been made redundant along time ago since
uid and gid are properly set in FUSE header.
- In libperfuse, check for corner case where opc = 0 on INACTIVE and RECLAIM (how is it possible? Check for it to avoid a crash anyway)
- In libperfuse, make sure we unlimit RLIMIT_AS and RLIMIT_DATA so that
we do notrun out of memory because the kernel is lazy at reclaiming vnodes.
- In libperfuse, cleanup style of perfuse_destroy_pn()
2012-04-18 00:57:21 +00:00
wiz
ec32c33db9
Wording. Remove trailing whitespace.
2012-04-14 10:34:29 +00:00
christos
0934ef62e5
a clarification, an a formatting nit.
2012-04-14 02:01:12 +00:00
christos
3765cebf73
- If fd == NULL, do the dance with opening /dev/tty
...
- Add a flag to enter a newline when we are done.
2012-04-14 01:33:43 +00:00
wiz
2306ff07c8
Sort errors.
2012-04-13 16:32:15 +00:00
yamt
8cd2291e6a
needs sys/lwpctl.h for constants
2012-04-13 15:14:58 +00:00
yamt
0df0c59ba6
- fix ambiguous sentences.
...
- mention scheduling class.
2012-04-13 15:14:27 +00:00
christos
d6d7452b38
prefer ETIMEDOUT.
2012-04-13 14:42:18 +00:00
christos
77cac556d1
add timeout.
2012-04-13 14:39:34 +00:00
christos
98ba7d206f
- don't update the length of the buffer until the allocation succeeds
...
- print only printable characters otherwise print '?'
2012-04-13 14:16:27 +00:00
wiz
3193029c4f
Remove trailing whitespace.
2012-04-13 06:38:18 +00:00
christos
4e156f338e
unconfuse lint; XXX: should really fix lint.
2012-04-13 02:20:50 +00:00
christos
311b90b920
add GETPASS_ECHO_STAR
2012-04-12 23:16:38 +00:00
christos
2968c226a9
name protection for getpassfd
2012-04-12 22:08:46 +00:00
christos
dd362f33aa
man page for getpassfd
2012-04-12 22:08:32 +00:00
christos
969c948d8b
add getpassfd() that gives us even more fine grain control on how to get
...
the password.
2012-04-12 22:07:44 +00:00
wiz
0e4c610c3c
Remove trailing whitespace.
2012-04-12 20:15:37 +00:00
christos
10fa0b6411
raise signals for the tty characters that do.
2012-04-12 20:08:01 +00:00
christos
48c7acbcd7
Add a new getpass implementation that does not mess with signals, and
...
include getpass_r
2012-04-12 19:36:19 +00:00
christos
ca7e8bb03f
Fix compat code, so if we failed to make raw, return the regular path.
2012-04-08 20:56:12 +00:00
wiz
72e34f2f4a
Split file system.
...
Comma fixes.
Remove dangling "and".
Bump date for previous.
2012-04-08 16:09:55 +00:00
wiz
9a7b574b58
End sentence with dot.
2012-04-08 16:06:23 +00:00
manu
6bceb41868
Use new PUFFS_KFLAG_CACHE_FS_TTL option to puffs_init(3) so that
...
FUSE TTL on name and attributes are used. This save many PUFFS
operations and improves performances.
PUFFS_KFLAG_CACHE_FS_TTL is #ifdef'ed in many places for now so that
libperfuse can still be used on netbsd-5.
2012-04-08 15:13:06 +00:00
manu
fb4eb35384
Add PUFFS_KFLAG_CACHE_FS_TTL flag to puffs_init(3) to use name and
...
attribute cache with filesystem provided TTL.
lookup, create, mknod, mkdir, symlink, getattr and setattr messages
have been extended so that attributes and their TTL can be provided
by the filesytem. lookup, create, mknod, mkdir, and symlink messages
are also extended so that the filesystem can provide name TTL.
The filesystem updates attributes and TTL using
puffs_pn_getvap(3), puffs_pn_getvattl(3), and puffs_pn_getcnttl(3)
2012-04-08 15:07:45 +00:00
martin
94b761b6aa
Rework posix_spawn locking and memory management:
...
- always provide a vmspace for the new proc, initially borrowing from proc0
(this part fixes PR 46286)
- increase parallelism between parent and child if arguments allow this,
avoiding a potential deadlock on exec_lock
- add a new flag for userland to request old (lockstepped) behaviour for
better error reporting
- adapt test cases to the previous two and add a new variant to test the
diagnostics flag
- fix a few memory (and lock) leaks
- provide netbsd32 compat
2012-04-08 11:27:44 +00:00
christos
f3cbb49f84
Add and enable COMPAT_DKWEDGE which let's us autoconfigure wedges and boot
...
with a non-wedge aware fstab.
2012-04-07 17:10:02 +00:00
christos
1e9ca58635
- add getdiskrawname.
...
- exit on error for lint.
2012-04-07 16:44:39 +00:00
christos
8f3dcf00a8
fix typo
2012-04-07 16:22:42 +00:00
christos
4a87bdacc7
read returns ssize_t, and err is a function name.
2012-04-07 16:17:17 +00:00
christos
920e381419
- pass correct types.
...
- use sizeof(var) instead of sizeof(type)
2012-04-07 16:16:34 +00:00
wiz
98dbe2d32a
Remove trailing whitespace, add dot.
2012-04-07 10:43:38 +00:00
christos
29484ab26f
add getfsspecname
2012-04-07 04:04:21 +00:00
christos
9dbf303bcb
cross reference getfsspecname
2012-04-07 03:47:30 +00:00
wiz
711cb78a48
Fix capitalization and typo, from Bug Hunting.
2012-04-06 11:36:04 +00:00
wiz
5eee512564
Fix typo, from Bug Hunting.
2012-04-06 11:35:39 +00:00
christos
5662c2716e
trailing whitespace police.
2012-04-04 17:47:03 +00:00
joerg
b757af438b
Disable new -Wstring-plus-int warning where needed for now.
...
Adjust various places that add GCC-only options to check for the active
compiler first.
2012-04-04 10:59:44 +00:00
agc
76f4f39125
Add a pthread cancel stub for sigwait, following Onno van der Linden's
...
analysis in PR 45131. Kindly tested by Hisashi T Fujinaka (using csup
as the test case) with a successful outcome.
OK martin@
2012-04-04 06:29:16 +00:00
agc
6578e3b1a4
fix a couple of typos
2012-04-02 22:06:47 +00:00
rmind
5f6fa3d5ee
Add NPF config retrieval routines.
2012-04-01 19:16:24 +00:00
christos
df08f9313b
nbytes is now size_t
2012-03-29 21:21:04 +00:00
christos
781d83f527
make constant explicitly unsigned
2012-03-29 19:27:05 +00:00
christos
ad6ae348d8
fix lint, should nbytes be changed to size_t to match with the struct passed?
2012-03-29 19:26:21 +00:00
christos
4a263fd8ca
PR/46279: Dr. W. Stukenbrock: Off-by-one in buffer length check and make sure
...
that the password fits in the supplied buffer.
2012-03-29 14:43:58 +00:00
christos
b66595809f
The flush function makes the tests fail. So undo it for now until we decide
...
if the tests are wrong or the flushing is wrong.
2012-03-29 14:27:33 +00:00
christos
2ad3ddd659
PR?40728: W. Stukenbrock: Fix various issues with NIS-netgroups in users
...
and groups.
2012-03-29 13:05:10 +00:00
christos
61a429c0b1
only provide compatibility i/o functions to the ones provided by the caller.
2012-03-28 15:21:11 +00:00
christos
de001ba2a5
- widen the internal read and write calls to match the syscalls
...
- add funopen2() which provides access to flush() and the wider calls.
- make use of the new flush call in fmemopen()
2012-03-27 15:05:42 +00:00
christos
9bd5031289
cast RHS of >>= operation to unsigned int
2012-03-25 19:53:41 +00:00
christos
9c9d360d27
- change from size_t to unsigned int because we don't need the extra width
...
- cast to unsigned int results of quad ops
2012-03-25 19:53:18 +00:00
christos
a105f91c05
PR/41558: Stathis Kamperis: Treat a backslash followed by NUL as NUL, instead
...
of a backslash if FNM_NOESCAPE is not set. According to TOG: a backslash in
a pattern followed by any other character, will match that second character
in the string.
2012-03-25 16:31:23 +00:00
joerg
0e8643658c
Don't pass assembler flags to genassym, it doesn't compile.
2012-03-25 06:55:19 +00:00
christos
fac360ff28
From: Jilles Tjoelker: Add a mapping for the cursor delete key
2012-03-24 20:09:30 +00:00
christos
d067817eea
From Jilles Tjoelker:
...
Do not move the cursor for ed-delete-next-char in emacs mode.
This makes ed-delete-next-char suitable for mapping to the <Delete> key.
Behaviour in vi mode is unchanged (for 'x').
2012-03-24 20:08:43 +00:00
matt
05c78a4552
Fix a bug introduced by lint cleanup.
2012-03-24 00:06:20 +00:00
njoly
28247a8661
Use major.minor for NetBSD versions.
2012-03-23 18:08:34 +00:00
skrll
5b9a421677
Shut lint up.
...
From he@
2012-03-23 09:34:09 +00:00
joerg
e057b2281a
Use __printflike.
2012-03-22 23:46:49 +00:00
joerg
4cd46b4ac8
Add some more __dead as exposed by the recent WARN bumps.
2012-03-22 22:59:43 +00:00
joerg
5df6c2ea3b
Format the diagnostic with vasprintf once and use plain syslog instead
...
of messing with format strings.
2012-03-22 22:58:15 +00:00
drochner
e917deee9c
don't reuse a dynamically allocated stack if a fixed one is requested
2012-03-22 20:01:18 +00:00
christos
1bb11e66cb
vax-specific lint fixes.
2012-03-22 17:32:21 +00:00
christos
c5142b6c92
add constcond, make shifts unsigned
2012-03-22 15:34:14 +00:00
christos
12968661bf
get rid of the cheesy BAD macros
2012-03-22 14:18:34 +00:00
he
4efbcb2b62
Make this lint-free (only built for real for the __sh__ ports):
...
* Mark some code after goto as /* NOTREACHED */
* Add a cast for file size (off_t) to size_t to avoid warning about
possibly losing bits.
* Avoid a "pointer casts may be troublesome" warning from lint
by doing a cast via "void *" instead of directly to "struct
coff_filehdr *".
2012-03-22 13:42:36 +00:00
he
99339bb8f4
Add a pair of casts to silence lint about conversion possibly losing bits.
2012-03-22 13:25:45 +00:00
he
6f8da331f6
A few modifications to make this build for vax:
...
* The decpt variable is only used if INFNAN_CHECK, which isn't defined
for vax.
* Use a cast to avoid warning about shift of a signed variable.
* Mark a condition as (potentially) a constant condition.
2012-03-22 13:15:48 +00:00
he
648512f83d
A few fixes to make this build for vax:
...
* The fivesbits[] variable is not used for vax
* The decpt variable is only used if INFNAN_CHECK, which isn't
defined for vax
2012-03-22 13:09:12 +00:00
he
ff8e71502d
Convert to use c89 function declaration.
2012-03-22 13:02:15 +00:00
skrll
d66dab05c4
Shut lint up about dp.
...
From he@
2012-03-22 12:31:32 +00:00
he
1c46a18eb1
Follow the pattern from powerpc, make lint happy.
2012-03-22 09:32:04 +00:00