Commit Graph

153991 Commits

Author SHA1 Message Date
yamt
c25123ccc5 - make several functions static.
- #if 0 out unused db_find_trace_symbols.
- add some comments.
(no functional change is intended.)
2006-11-22 13:29:03 +00:00
elad
eb704f9789 SSP is not enabled by default, update documentation.
Pointed out by yamt@, thanks!
2006-11-22 13:00:02 +00:00
yamt
bcf1b9e864 - unwrap short lines.
- whitespace.
2006-11-22 12:31:51 +00:00
elad
4b316db1d1 Introduce KAUTH_REQ_MACHDEP_{ALPHA,X86}_UNMANAGEDMEM to handle access
to unmanaged memory.

These are the last two securelevel references in the MD code.
2006-11-22 12:12:51 +00:00
elad
ee1dd181bc Damn, missed in previous commit. Add PaX Segvguard flags. 2006-11-22 12:00:14 +00:00
mrg
5c4d804998 fix a compile problem with the mjpegtools package. PR#35082. this reverts
a recent GCC change that fixed their bug 28506.  from Richard Guenther (suse).
2006-11-22 05:18:57 +00:00
lukem
b5cee0bd31 Hindenburg exploded on May 6 not March 6 2006-11-22 04:54:46 +00:00
elad
a84fee7faf Initial implementation of PaX Segvguard (this is still work-in-progress,
it's just to get it out of my local tree).
2006-11-22 02:02:51 +00:00
uebayasi
25e0bf9073 Use C99 initializers where needed. 2006-11-22 01:54:09 +00:00
elad
156f4ce7bb Make PaX MPROTECT use specificdata(9), freeing up two P_* flags.
While here, make more generic for upcoming PaX features.
2006-11-22 00:41:38 +00:00
elad
cbe2288b0c printf() -> log() for Veriexec messages. 2006-11-21 23:52:41 +00:00
pooka
118c65eb6d * update comments
* puffs_nextdent() takes a directory type, not vtype, so translate
  that before calling it.  fixes find & other fts-stuff.
2006-11-21 23:19:45 +00:00
pooka
194d17d824 mode_t to enum vtype conversion 2006-11-21 23:11:09 +00:00
pooka
5676e026f8 * change usage to ssshfs user@host:path mountpath
* assorted little fixes

ssshfs now works for practical uses
2006-11-21 23:09:23 +00:00
christos
d6bc4d2b49 deal with RLIM_INFINITY in the setrlimit case. 2006-11-21 18:50:01 +00:00
dsl
09cad86587 Make the install actually die when the boot code is too big (which it is).
No idea how long it has been bust for.
Other parts of this makefile are deeply sub-optimal.
2006-11-21 18:31:44 +00:00
dsl
0d9ff52003 Mark all the .PHONY targets as .NOTMAIN in one go - instead of individually.
Add .WAITs after beforeinstall and before afterinstall.
Remove the bogus dependency lines that someone must have added with the
vague hope they would cause the build to happen in the right order!
Since we have 'realinstall:     proginstall scriptsinstall' stopping
'realinstall' running never has stopped 'proginstall' running.
Fixing this probably fixes a variety of problems, including, but not
restricted to 'install' in src/sys/arch/atari/stand/bootxx
(NB this particular file is untested due to other local changes)
2006-11-21 18:25:26 +00:00
pooka
2773d88a59 do better directory link accounting, fix bug in readdir(). find, rm -rf,
etcetc. now work
2006-11-21 15:35:58 +00:00
christos
887f588c92 adjust limits takes struct proc again. 2006-11-21 15:02:18 +00:00
christos
0470afd097 Simplify previous commit not to use dosetrlimit(), since we don't want the
kauth tests etc.
2006-11-21 14:57:54 +00:00
christos
1882355e27 From Nicolas Joly:
> It seems that 32bits programs, running under compat_netbsd32, using
> setrlimit force all other programs to have their maximum data size
> fixed at 3GB, where native 64bits apps used 8GB previously.

I tracked this one to the `netbsd32_adjust_limits()' function (called
when creating a new process under compat_netbsd32), where data and
stack limits are set without checking for shared `p_limit' structure
(p_limit->p_refcnt > 1). This explain the side effect where processes
have their limits changed when a compat_netbsd32 (or compat_linux32)
program is run.

The fix is to use `dosetrlimit()' to ensure the needed copy-on-write
behaviour for shared structure.
2006-11-21 14:32:27 +00:00
pooka
a9772ae2fb better accounting. e.g. du works now 2006-11-21 13:05:47 +00:00
pooka
e7a63c481b don't recache directory listing in all operations that use a directory 2006-11-21 12:42:15 +00:00
yamt
9777cce8d1 include the i386 frameasm.h rather than inlining it. 2006-11-21 07:35:01 +00:00
simonb
7a046fb2d1 Poo, fix typo'd typo.
Thanks Pooka.
2006-11-21 02:37:20 +00:00
pooka
8f2fd4cb28 reclaim needs some more work, so don't do anything there for now.
This is good especially for not crashing in unmount, which in turn
would cause unpleasantries without the very latest & greatest kernel
2006-11-21 02:31:48 +00:00
simonb
23d9ba237a Fix some #define<tab> while here... 2006-11-21 02:19:54 +00:00
simonb
627877b6a9 Fix a tyop in a comment. 2006-11-21 02:17:51 +00:00
pooka
99eb16cb3c if we are going to bail due to the mountpoint being gone from under
us while waiting for syncer lock, release the newly acquired syncer
lock prior to bailing
2006-11-21 01:53:33 +00:00
pooka
65cab72c29 cosmetics 2006-11-21 01:51:42 +00:00
pooka
1d9515c070 today's fs-in-a-day: quick glue to tie puffs together with openssh
sftp code to accomplish something close to sshfs.  this basically
works, but there are some issues with directory grovelers still,
e.g. so untar won't work.  but it works for browsing mailboxes,
transferring large files, etcetc.
2006-11-21 00:54:06 +00:00
elad
0ba2154297 Update my email address. 2006-11-21 00:22:04 +00:00
bouyer
37152360bf Move part of wdc_sataprobe() to sys/dev/ata/sata_subr.c so that it can be
shared with non-wdc SATA controllers.
2006-11-20 23:42:21 +00:00
dsl
efbf65678a Don't add all the help text when SMALLPROG is set. 2006-11-20 22:06:26 +00:00
elad
9a87be9622 compare pointer against null, not zero 2006-11-20 21:50:51 +00:00
hauke
ee98815c38 Better make sure CLK_INTERVAL remains an integer for creative non-default
values of HZ.
2006-11-20 20:48:36 +00:00
christos
ab56b9a702 getdate -> parsedate 2006-11-20 20:33:33 +00:00
christos
61261c8531 rename getdate to parsedate to avoid conflict with posix function 2006-11-20 20:33:02 +00:00
hauke
3d79fd04f9 Note mac68k timecounter support (okayed by Martin Husemann) 2006-11-20 20:03:16 +00:00
hauke
9659017417 Add Timecounter support for mac68k, using the otherwise idle second
timer of VIA1. Passes regression/sys/kern/time regression test.

While we are here, GC leftover prototypes from MI todr integration,
and clean up clockreg.h in the light of "Guide to the Macintosh
Hardware" information.

(Reviewed and okayed by Martin Husemann)
2006-11-20 19:58:38 +00:00
jwise
8399bed491 Without commenting on what musicians do or do not belong in this file (the
current selection shows it's early eighties NoCal roots), if we're going to
include the births and deaths of other members of the Grateful Dead, we
should presumably include Jerry Garcia as well.

Make it so.
2006-11-20 17:27:56 +00:00
jwise
6fea1ccb2e Fix spelling of `Bangladesh' 2006-11-20 17:23:40 +00:00
jwise
0427d88cfc Eid-ul-Fitr is never in July, is celebrated in all Muslim lands (not just
Pakistan), and is a variable holiday.

Update to the date of its next occurrence (since calendar(1) does not
support the Muslim calendar), and fix its description accordingly.
2006-11-20 17:21:28 +00:00
jwise
cb64006105 Update through a year from today. Barring support for the hebrew calendar
in calendar(1), this will have to do.  While there, tweak a few spellings,
and add a missing holiday.

Dates checked against http://www.hebcal.com/
2006-11-20 17:11:45 +00:00
skrll
768e889c8b Delete more gcc3 stuff. 2006-11-20 17:08:35 +00:00
jwise
500bebac90 It seems reasonable to include Christmas in calendar.christian. Per the
mishmash of anglican, catholic and other feast names included herein, use
both `Christmas' and `Feast of the Nativity' to denote this holiday.

This calendar could use serious updating, but it would be worth adding
better support for floating holidays first.
2006-11-20 16:58:55 +00:00
jwise
d1096a69f3 Fix consistent misspelling of `Elassar', royal name of Aragorn/Strider. 2006-11-20 16:52:56 +00:00
elad
45c22579bb Properly handle 32/64bit headers; from christos@. 2006-11-20 16:51:44 +00:00
tsutsui
b418536b89 yamt-splraiseipl: cobalt works on RaQ2. 2006-11-20 15:55:17 +00:00
ad
9f1efa611c selcommon(), pollcommon(): restore the correct signal mask on failure. 2006-11-20 15:16:22 +00:00