Commit Graph

15725 Commits

Author SHA1 Message Date
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