Commit Graph

134672 Commits

Author SHA1 Message Date
perseant
5d2f3e4908 Various minor LFS improvements:
* Extend the lfs library from fsck_lfs(8) so that it can be used with a
  not-yet-existent LFS.  Make newfs_lfs(8) use this library, so it can
  create LFSs whose Ifile is larger than one segment.
* Make newfs_lfs(8) use strsuftoi64() for its arguments, a la newfs(8).
* Make fsck_lfs(8) respect the "file system is clean" flag.
* Don't let fsck_lfs(8) think it has dirty blocks when invoked with the
  -n flag.
2005-02-26 05:45:54 +00:00
perseant
6e52bfc264 Various minor LFS improvements:
* Adapt lfs_cleanerd to use the fcntl call to get the Ifile filehandle,
  so it need not be in the namespace.
* Make lfs_cleanerd be more careful when there are very few available
  segments.
* Remove the Ifile from the filesystem namespace.  The cleaner now uses
  a fcntl call on the root inode to find the Ifile filehandle.
* Make lfs_cleanerd less verbose when the filesystem is unmounted.
2005-02-26 05:43:04 +00:00
perseant
25f49c3c91 Various minor LFS improvements:
* Note when lfs_putpages(9) thinks it is not going to be writing any
  pages before calling genfs_putpages(9).  This prevents a situation in
  which blocks can be queued for writing without a segment header.
* Correct computation of NRESERVE(), though it is still a gross
  overestimate in most cases.  Note that if NRESERVE() is too high, it
  may be impossible to create files on the filesystem.  We catch this
  case on filesystem mount and refuse to mount r/w.
* Allow filesystems to be mounted whose block size is == MAXBSIZE.
* Somewhere along the line, ufs_bmaparray(9) started mangling UNWRITTEN
  entries in indirect blocks again, triggering a failed assertion "daddr
  <= LFS_MAX_DADDR".  Explicitly convert to and from int32_t to correct
  this.
* Add a high-water mark for the number of dirty pages any given LFS can
  hold before triggering a flush.  This is settable by sysctl, but off
  (zero) by default.
* Be more careful about the MAX_BYTES and MAX_BUFS computations so we
  shouldn't see "please increase to at least zero" messages.
* Note that VBLK and VCHR vnodes can have nonzero values in di_db[0]
  even though their v_size == 0.  Don't panic when we see this.
* Change lfs_bfree to a signed quantity.  The manner in which it is
  processed before being passed to the cleaner means that sometimes it
  may drop below zero, and the cleaner must be aware of this.
* Never report bfree < 0 (or higher than lfs_dsize) through
  lfs_statvfs(9).  This prevents df(1) from ever telling us that our full
  filesystems have 16TB free.
* Account space allocated through lfs_balloc(9) that does not have
  associated buffer headers, so that the pagedaemon doesn't run us out
  of segments.
* Return ENOSPC from lfs_balloc(9) when bfree drops to zero.
* Address a deadlock in lfs_bmapv/lfs_markv when the filesystem is being
  unmounted.  Because vfs_busy() is a shared lock, and
  lfs_bmapv/lfs_markv mark the filesystem vfs_busy(), the cleaner can be
  holding the lock that umount() is blocking on, then try to vfs_busy()
  again in getnewvnode().
2005-02-26 05:40:42 +00:00
thorpej
0a40f744b4 Make sure to set yppwd.oldpass. 2005-02-26 02:57:32 +00:00
simonb
9dd50e019c Add some nops in branch delay slots to stop a warning because we
previously had a macro in those slots.  No side effects this time,
so we got lucky.

Pointed out by Izumi Tsutsui on port-mips.
2005-02-26 00:06:28 +00:00
jdolecek
b6df8b1e96 add windows-12?? aliases for CP12?? 2005-02-25 22:00:50 +00:00
matt
ab963ad04b Alphabetize main list of sources. 2005-02-25 21:51:10 +00:00
christos
dc9dbb2ac7 Don't wait for any process, just our child. pam sessions can fork other
processes (such as the ssh pam agent handler) and the wrong process ends
up reaped, wreaking havoc.
2005-02-25 21:49:43 +00:00
matt
7eddba88c0 Add the code for pselect and pollts. Add selcommon and pollcommon to
<sys/select.h> and <sys/poll.h>.
2005-02-25 19:56:07 +00:00
matt
47a6f2d4b0 Regen. (for pselect and pollts) 2005-02-25 19:55:18 +00:00
matt
124745835a Add pselect and pollts 2005-02-25 19:53:56 +00:00
martin
418c9f0372 Nuke options RASTERCONSOLE for sparc64 2005-02-25 19:16:45 +00:00
christos
4274cae273 Don't try to build PIC stuff if we cannot do PIC. 2005-02-25 18:26:00 +00:00
heas
c1d895ba16 Add a few comments wrt PTEs 2005-02-25 17:29:04 +00:00
tsutsui
89f1fd615f lkkbd requires lkkbdmap.
Fix kernel link problem reported by Georg Schwarz on port-pmax.
2005-02-25 16:12:25 +00:00
martin
5e69671993 From Michael Lorenz: add screen switching keyboard symbols 2005-02-25 16:04:36 +00:00
martin
eefe758c2d From Micahel Lorenz: wsdisplay support for cg6 2005-02-25 16:03:09 +00:00
martin
97a0f9b3ed From Michael Lorenz: more cleanup and various bugfixes, support
for WSDISPLAYIO_GETWSCHAR and WSDISPLAYIO_PUTWSCHAR ioctls.
2005-02-25 16:00:58 +00:00
simonb
1d351ebc53 Remove a incorrect semicolon at the end of an if().
Magic levels now appear after extensive play testing!
2005-02-25 15:04:43 +00:00
joff
d42fc76092 Clear IFF_RUNNING flag before aborting usb pipes in atu_stop().
Really fixes kern/29326.
2005-02-25 14:47:19 +00:00
simonb
8d56c02e1c Regen for COMPAT_20 additions. 2005-02-25 13:52:21 +00:00
simonb
2d12f350f9 Regen for COMPAT_20 addition. 2005-02-25 13:49:07 +00:00
simonb
ff8f0b23c9 Add COMPAT_20 (and COMPAT_16 in some cases) to kernel config files
that didn't have those options but had other earlier compat options.
2005-02-25 13:46:48 +00:00
simonb
3882f544c1 KNF: put "if (...)" and following statement on separate lines. 2005-02-25 07:20:10 +00:00
simonb
61e2cd2f51 Remove some errant semicolons. 2005-02-25 07:18:40 +00:00
simonb
6e4737fc77 KNF: put "if (...)" and following statement on separate lines. 2005-02-25 07:09:58 +00:00
chs
1a3cd3af48 fix a typoe in previous. 2005-02-25 02:01:59 +00:00
manu
519aeb19a0 Resolve conflict 2005-02-24 20:59:24 +00:00
manu
34ec7ca0bb update ipsec-tools version 2005-02-24 20:56:19 +00:00
manu
6159f46a8d Import ipsec-tools ipsec-tools-0_6-20050224 2005-02-24 20:52:25 +00:00
christos
d242353e08 Update status. 2005-02-24 15:15:27 +00:00
christos
1d6a9d3f17 Don't disable PAM when MKPIC=no. PAM should work with static libraries, and
this breaks PAM on programs that decide not to use PIC libraries, such as
the X server.
2005-02-24 14:56:55 +00:00
christos
7a46d959f1 The only file that needs to be compiled with -DUSE_PAM is utils.c 2005-02-24 14:54:02 +00:00
christos
c0f3158a18 Add PAM hooks.
XXX: It would be nice if the specific Xservers did not trash
LDADD, so that we could use LDADD += instead of LDADD.os +=
2005-02-24 14:53:15 +00:00
christos
263bcf1fc7 Add pam hooks. 2005-02-24 14:47:38 +00:00
manu
be15b99c92 Define SADB_X_EALG_AESCBC=SADB_X_EALG_AES, as we define SADB_X_EALG_AES
in <net/pfkeyv2.h> while ipsec-tools uses SADB_X_EALG_AESCBC in the code.
2005-02-24 13:45:08 +00:00
manu
77389b1f94 Update racoon status 2005-02-24 13:16:42 +00:00
martin
7719036ed6 Avoid use of freed memory. Reported by Ted Unangst on tech-kern. 2005-02-24 08:29:23 +00:00
martin
2ec706cc8a Fix memory leak reported by Ted Unangst as bug #2 on tech-kern. 2005-02-24 08:25:28 +00:00
martin
7ff97b3311 Fix memory leak reported by Ted Unangst as bug #3 on tech-kern. 2005-02-24 08:19:38 +00:00
martin
6192fdeaf6 Fix number of elements calculation when converting socket options.
Fixes bugs 4 and 5 reported by Ted Unangst on tech-kern.
2005-02-24 08:15:53 +00:00
martin
83fb9dbd1b Fix the size of psc_regs (0x3c >> 2 is the biggest index used to access
it now, so pick 0x40 >> 2). Fixes "Bug 6", reported by Ted Unangst on
tech-kern.
2005-02-24 08:04:02 +00:00
joff
ba4b28e8e5 o Make sure interface is up before continuing with atu_start(). Should fix PR
kern/29326 as reported by Andreas Gustafsson.
o Use IFQ_DEQUEUE instead of IF_DEQUEUE
2005-02-24 06:06:11 +00:00
thorpej
8c9dd4bba7 Add missing RCS ID. 2005-02-24 05:11:34 +00:00
lukem
118f369d29 Rename compare_dir() to populate_dir() and add "$onlynew" argument,
which if true prevents existing but changed files from being updated.

Reimplement compare_dir() in terms of populate_dir() ($onlynew=false)

Reenable do_pam() and use populate_dir() instead of compare_dir().
This allows missing etc/pam.d files to be installed with "fix", but
leaves (possibly end-user) modified files alone.
2005-02-24 04:06:53 +00:00
joff
7f97da202c Add sysctl tree hw.tspld.* for query of jumper states, pld revision,
board model/options, etc...
2005-02-24 03:52:22 +00:00
martin
dcffc13e8d Rename /dev/fb to /dev/fb0 and make /dev/fb a symlink to it. 2005-02-23 22:56:20 +00:00
dsl
8d3b64e3cb Exit with any failure code from the cmd or gzip.
Decode gzip -l output with strtoimax() (not sscanf()) so we don't use an
uninitialised variable if the output format isn't what we expect.
This might fix some installation PRs (no error being reported)
2005-02-23 22:32:31 +00:00
sjg
34180b9ccc In the case of :? modifier, variable can be an expression - say so. 2005-02-23 17:22:29 +00:00
manu
da4d1abb40 bump ipsec-tools package version 2005-02-23 15:27:09 +00:00