Commit Graph

15739 Commits

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