Commit Graph

13493 Commits

Author SHA1 Message Date
pooka 44dcee46bd default to UKFS_PARTITION_NONE in argvprobe 2009-11-05 14:22:54 +00:00
dsl ef7eea8bfd Read input from the correct FILE. 2009-11-04 21:51:11 +00:00
dsl bc1d032082 Round timeout values up.
More importantly convert 1..99 to 1, not 0.
2009-11-04 21:24:57 +00:00
snj 32381fa0dd Follow upstream license changes for files with Michael Shalayeff's
copyright.  In most cases, this means dropping the 3rd and 4th clauses.
2009-11-03 05:07:25 +00:00
stacktic da8c43524c Make sure fts_statp is NULL when FTS_NOSTAT is set 2009-11-02 17:17:34 +00:00
plunky 212bd4a35c remove old libevent sources 2009-11-02 10:14:28 +00:00
plunky c75313ecdf switch build to use libevent-1.4.12-stable from external 2009-11-02 10:13:19 +00:00
dsl 905b39a994 Move calls to __restore_termios() into the failing path of the functions
that fail - instead of in most of the callers.
All rather pointless if tcsetattr() fails to set the mode we want we
are very unlikely to be able to restore any later on.
2009-11-01 22:11:27 +00:00
christos 2853bbf4b7 use %option instead of #define YY_NO_... 2009-10-29 14:49:02 +00:00
wiz bd339365ac Sort ERRORS. Add comma in enumeration. 2009-10-29 01:52:01 +00:00
njoly b83467c466 Make flock(2) more robust to invalid operation, such as
(LOCK_EX|LOCK_SH).
2009-10-28 18:24:44 +00:00
christos fb86afc52f hook the new flex. 2009-10-26 21:36:46 +00:00
jnemeth 906faa3823 mention MODULE_CLASS_SECMODEL 2009-10-26 20:43:37 +00:00
jnemeth 79487327f2 XXX - confirmed that ms_required is comma-delimited
XXX - MODULE_CLASS_ANY shouldn't be returned, but potentially could
      be if a module were declared that way
2009-10-26 20:40:00 +00:00
dholland f1c1c5ddec Edit - expand descriptions; document data structures in English rather
than in C; use more markup; make nroff output not exceed 80 columns.
2009-10-26 05:57:36 +00:00
christos 4958d088d0 back to old lex 2009-10-26 04:08:25 +00:00
christos d4aeae3f68 hook the new flex library 2009-10-26 01:18:46 +00:00
christos cfbb35ed03 revert some of dsl's changes to make things build on i386; he can undo what
he wants when he comes back.
2009-10-25 20:44:13 +00:00
dsl 5f1a9bea9e Lint is differentially far too picky...
Remove some warnings that only appear on i386 (not on amd64) and that
for some reason best known to others are deemed fatal for i386.
Making this code 'pass lint' does absolutely nothing for its readability (etc).
2009-10-25 17:09:34 +00:00
mlelstv 7aea3a0d0a import tzcode2009k 2009-10-25 16:20:16 +00:00
christos 3b0d9a876a don't read hostaliases using unbuffered reads. there is no security benefit. 2009-10-24 21:37:57 +00:00
christos 9d8aeaab57 simplify the example; only register the set of events to watch once since
it does not change. Also print that ATTR means changing times too.
2009-10-24 17:49:58 +00:00
christos e942b6ecb2 expose res_check. 2009-10-24 17:24:01 +00:00
mlelstv df0cec4903 With 64bit time_t years can be negative and lapyear computation
requires rounding down. This avoids an infinite loop in localtime().
2009-10-24 17:01:04 +00:00
dsl 0b807be843 Remove a load of pointless casts - one that even lint doesn't bleat about. 2009-10-24 15:20:15 +00:00
dsl 695bc79994 Check for EOF before erroring fgets() with length <= 0.
If length is invalid, set errno = EINVAL and __SERR as well returning NULL.
Should let me close PR/41992.
2009-10-24 14:50:48 +00:00
reed 192dabfaf3 Add missing comma in the NAME Nm list. 2009-10-24 11:17:13 +00:00
christos 249296c41c Add a knote to keep track when resolv.conf gets changed and re-initialize.
While here fix a memory leak when calling res_vinit with an already inited
res_state.
2009-10-24 05:35:37 +00:00
joerg d3ac1c4282 Disable the use of mandoc for now until support for conditional
expression exists.
2009-10-23 23:42:52 +00:00
cegger 6e975d4155 fix typo: rag -> reg 2009-10-23 15:41:58 +00:00
tsarna 8c31ceec62 Update my email address to one I have used in this millenium. 2009-10-22 23:08:03 +00:00
bouyer e0f9b22254 Remove closes 3 and 4 from my copyright. 2009-10-22 21:50:01 +00:00
snj 799a191e36 Pull in revisions 1.24 and 1.25 from upstream, which change this file's
license to ISC-style.
2009-10-22 01:38:18 +00:00
rmind 40cf6f3659 Remove uarea swap-out functionality:
- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code.  Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.
2009-10-21 21:11:57 +00:00
skrll 43f47d3c56 G/C bcopy.m4 and references to it. 2009-10-21 19:30:46 +00:00
snj 550147bd6a Remove 3rd and 4th clauses in christos' license. OK christos. 2009-10-21 01:07:44 +00:00
snj 4988388746 Remove 3rd and 4th clause on Leo Weppelman's license. OK leo@. 2009-10-20 19:10:09 +00:00
jnemeth 1cadc32cd7 First pass at a manpage for modctl(2) (hi ad!). 2009-10-20 04:41:28 +00:00
joerg be403b3398 Fix header to include. From Kristaps Dzonsons. 2009-10-19 22:38:56 +00:00
christos 236714187a PR/42201: NAKAJIMA Yoshihiro: fts(3): broken compatibility
As new field types were added, we did not provide overrides for older compat
versions. This restores compatibility.
2009-10-19 17:52:01 +00:00
pooka a37ccec12c Default "recycle" to false in inactive. File system drivers do
not always set it.
2009-10-19 17:34:07 +00:00
pooka d33c69eb5f bump minor for puffs_setmntinfo() 2009-10-18 20:26:33 +00:00
pooka f0d8515717 include some headers we use 2009-10-18 20:14:06 +00:00
pooka 38a8ac9c61 Split init routines a bit more to allow for p2k init without having
to pass any real configuration data.  This benefits things like
rump_smbfs which need to init rump before running the userspace
mount routines (because they make rump system calls) but cannot
run p2k_setup() at that stage because it requires data provided by
the userspace mount routines.  And p2k_setup() in turn forks (to
detach), so it cannot be run after rump has been inited and threads
have been created.
2009-10-18 19:36:41 +00:00
pooka 0f699dcf1d Make it possible to supply parameters to puffs_init() later (but
before puffs_mount()).
2009-10-18 19:09:20 +00:00
pooka dd0a0505f1 Implement abortop. 2009-10-17 23:20:15 +00:00
pooka 75008bfc31 Dispatch puffs_node_abortop().
Note: We use the storage of puffs_cache_write from puffs_ops for
this purpose.  It's not issued by the kernel and hence currently
unused, and this saves us from the trouble of bumping the lib major
version.
2009-10-17 23:19:52 +00:00
pooka eea7b3ade4 Add some comments on how to act when major is bumped the next time. 2009-10-17 21:36:02 +00:00
pooka 2ce66cd910 use newstyle rump lwp interfaces 2009-10-15 16:41:08 +00:00
dsl 40f437887d Reverse previous, committed by mistake. 2009-10-15 06:19:35 +00:00