Commit Graph

65695 Commits

Author SHA1 Message Date
archie
af6aab288d Fix bug that cheated hook names out of the last 2 bytes.
MFC after:      3 days
2001-10-10 19:58:11 +00:00
archie
4af7ad0301 Let "raw" mean IPPROTO_RAW instead of IPPROTO_IP.
Noticed by:	jdp
MFC after:	3 days
2001-10-10 19:51:13 +00:00
peter
83203f34d9 Add an ia64 configuration. This is not likely to be optimal, but does
compile and seems to work.  We should run configure after everything
else is self hosting to test the speeds of the various options.
2001-10-10 19:07:31 +00:00
archie
129a62bf4a Update reference URL.
MFC after:	3 days
2001-10-10 18:34:28 +00:00
orion
14c953e80c use pcm_getbuffersize() 2001-10-10 17:56:35 +00:00
luigi
7fc2570dc7 Add a -d flag to show deltas as opposed to cumulative counters
in interface statistics.  Most useful when used with the -w flag e.g.

	ns -i -w 1 -d
2001-10-10 17:52:04 +00:00
bde
94220967cf Compensate for "Compensate for header dethreading" by backing it out. 2001-10-10 17:48:44 +00:00
obrien
4ebab71a9f Fix tabbing damage in last commit. 2001-10-10 17:26:27 +00:00
ru
9da2e4d0b8 -r is implied with -B. 2001-10-10 16:26:56 +00:00
ru
293c95419d getnetbyaddr() should be serviced by the "networks" database. 2001-10-10 12:49:53 +00:00
dfr
d6e961ff95 Adjust so that we don't use relocations which can't exist in a shared
library.
2001-10-10 10:35:01 +00:00
dfr
05752fa7a3 Shorter versions of the byte swapping code. 2001-10-10 10:34:08 +00:00
bde
463a4f2a31 Added used includes. <sys/_lock.h> is a prerequisite for <sys/_mutex.h>,
and <sys/queue.h> is a prerequisite for both <sys/_lock.h> and
<sys_mutex.h>.
2001-10-10 10:26:07 +00:00
bde
8aa8a0b0c9 Fixed some bitrot. The KSE interface change for vops had not reached here.
Didn't fix older bugs.  Most of the examples don't even match historical
interfaces.
2001-10-10 10:17:02 +00:00
dfr
0b87b646ff Add a definition for the ia64's special PLT_RESERVE entry in the _DYNAMIC
section.
2001-10-10 09:00:27 +00:00
sobomax
0254066f4e - Introduce a notion of `packing list format version'. This allows making
non-backward compatible changes in the format of packing list and handle
  them gracefully;
- fix a longstanding issue with symlinks handling. Instead of recording
  checksum for the file symlink points to, record checksum for the value
  returned by readlink(2). For backward compatibility increase packing list
  format minor version number and provide a fallback to a previous behaviour,
  if package in question was created with older version of pkg_* tools;

Submitted by:	Alec Wolman <wolman@cs.washington.edu>, sobomax

- don't record MD5 checksum for device nodes, fifo's and other non-regular
  files.

Submitted by:	nbm
MFC in:		2 weeks
2001-10-10 08:21:41 +00:00
jkh
54ced0e78d Check to see if the devfs MIB exists and return 1 if it exists rather
than making device node(s).
Submitted by:	Hiroo ONO <hiroo@oikumene.gcd.org>
2001-10-10 07:46:04 +00:00
bde
a5efc161c6 Fixed some style bugs:
- rev.1.6: corrupt tab before strlcpy.
- rev.1.7: "From: " in vendor id.
- rev.1.8: unsorted prototype for strccasestr.
2001-10-10 07:34:47 +00:00
dfr
f0a7cada7e The support for accelerating find_symdef() with a cache was broken. This
fixes the problem and improves startup times for large applications such
as KDE2 considerably.

Reviewed by:	jdp
MFC after:	1 week
2001-10-10 07:15:01 +00:00
sobomax
e758c2dfc1 WARNS=2 cleanup.
Tested on:	i386, alpha
MFC after:	2 weeks
2001-10-10 06:58:42 +00:00
dougb
2f057f6086 Follow existing style a little better 2001-10-10 04:25:44 +00:00
ache
465fb5b971 Bump FreeBSD_version for strcasestr() 2001-10-10 02:38:37 +00:00
bmah
f806b937f8 Remove a redundant use of &arch;. 2001-10-10 02:34:20 +00:00
ache
e7f0448b2a Implement strcasestr() which many others (f.e. Linux) already have 2001-10-10 02:19:09 +00:00
ache
cb74a0f9dc Implement strcasestr() which many others (f.e. Linux) already have. 2001-10-10 02:17:35 +00:00
des
a6aa4fdeb7 Document the dumpdir variable, and write a better description of the dumpdev
variable.

MFC:	1 week
2001-10-10 00:45:52 +00:00
rwatson
c67e2910db - Combine kern.ps_showallprocs and kern.ipc.showallsockets into
a single kern.security.seeotheruids_permitted, describes as:
  "Unprivileged processes may see subjects/objects with different real uid"
  NOTE: kern.ps_showallprocs exists in -STABLE, and therefore there is
  an API change.  kern.ipc.showallsockets does not.
- Check kern.security.seeotheruids_permitted in cr_cansee().
- Replace visibility calls to socheckuid() with cr_cansee() (retain
  the change to socheckuid() in ipfw, where it is used for rule-matching).
- Remove prison_unpcb() and make use of cr_cansee() against the UNIX
  domain socket credential instead of comparing root vnodes for the
  UDS and the process.  This allows multiple jails to share the same
  chroot() and not see each others UNIX domain sockets.
- Remove unused socheckproc().

Now that cr_cansee() is used universally for socket visibility, a variety
of policies are more consistently enforced, including uid-based
restrictions and jail-based restrictions.  This also better-supports
the introduction of additional MAC models.

Reviewed by:	ps, billf
Obtained from:	TrustedBSD Project
2001-10-09 21:40:30 +00:00
bmah
205b8c915f Add a sentence giving a bit of background for recent newfs(8) changes.
Discussed with:	Ollivier Robert <roberto@ns2.freenix.org>
2001-10-09 20:10:49 +00:00
dfr
dc5e9e5308 Make this build on ia64. 2001-10-09 20:04:02 +00:00
iedowse
7a509bff9e Remove the Xresume* labels from the i386 interrupt handlers; the
code in ipl.s and icu_ipl.s that used them was removed when the
interrupt thread system was committed. Debuggers also knew about
Xresume* because these labels hide the real names of the interrupt
handlers (Xintr*), and debuggers need to special-case interrupt
handlers to get the interrupt frame.

Both gdb and ddb will now use the Xintr* and Xfastintr* symbols to
detect interrupt frames. Fast interrupt frames were never identified
correctly before, so this fixes the problem of the running stack
frame getting lost in a ddb or gdb trace generated from a fast
interrupt - e.g. when debugging a simple infinite loop in the kernel
using a serial console, the frame containing the loop would never
appear in a gdb or ddb trace.

Reviewed by:	jhb, bde
2001-10-09 19:54:52 +00:00
dfr
67ea92e3e2 Clarify a comment.
Requested by: jhb
2001-10-09 19:50:29 +00:00
scottl
5a408d6b15 Update to using the pcm_getbuffersize() method.
Fix an off-by-one error in the saving of the dsp memory.
Up the play channels to 2.

MFC after:	3 days
2001-10-09 19:46:09 +00:00
des
5f45546c20 Add a dumpdir variable that determines where savecore stores crash dumps.
I've had this on my development box for ages...
2001-10-09 18:40:00 +00:00
jhb
52c5d508b7 proces -> process in a comment. 2001-10-09 17:25:30 +00:00
mike
b9c754f2b1 Document the fact that the strnstr(3) function is not portable.
Requested by:	brian, gad
2001-10-09 17:22:02 +00:00
rwatson
cb92b87d4f o Recent addition of (p1==p2) exception in p_candebug() permitted
processes to attach debugging to themselves even though the
  global kern_unprivileged_procdebug_permitted policy might disallow
  this.
o Move the kern_unprivileged_procdebug_permitted check above the
  (p1==p2) check.

Reviewed by:	des
2001-10-09 16:56:29 +00:00
jhb
58b781f687 Use crhold() instead of crdup() since we aren't modifying the cred but
just need to ensure it remains immutable.
2001-10-09 16:48:57 +00:00
mike
b47abc5bfe Don't mangle vendor ids to put them in __RCSID. Just ifdef all vendor
id cruft.

Submitted by:	bde
2001-10-09 16:40:04 +00:00
jhb
d7f225b906 Use crhold() instead of crdup(). The md(4) driver doesn't modify the ucred
that it uses, so it merely needs to bump its refcount to make it immutable
rather than obtain its own copy.
2001-10-09 16:37:51 +00:00
sobomax
652dad3877 Remove greatly outdated comment that systat(1) takes 2-10% of the CPU time.
This isn't true nowadays.
2001-10-09 16:07:32 +00:00
robert
6f6d9f134f Remove an unneeded variable declaration and statement.
Approved by:	jake
2001-10-09 16:06:28 +00:00
mike
e8609acd4b (forced commit)
Also not that the previous bump is for the new strnstr(3) libc function.
2001-10-09 15:50:22 +00:00
nyan
c6602ba756 Added Logitec LHA-301 pnp id. 2001-10-09 15:30:19 +00:00
ru
48d3dbff31 Pad input with null characters if it is not a multiple of 3.
PR:		bin/31156
MFC after:	1 week
2001-10-09 11:05:27 +00:00
dfr
9c40d2f8d9 Don't include isavar.h - we don't need it. 2001-10-09 10:24:37 +00:00
dfr
f86bd00b4c Add a minimalist kernel config which can run inside SKI. 2001-10-09 10:14:06 +00:00
ru
717525ef03 The previous change also disaligned lines with AF_IPX and AF_NS
addresses.  Unshrink "Network" width to the previous value, and
make sure everything is aligned again.
2001-10-09 08:33:50 +00:00
obrien
0d2e7e701a Bump for switch to XFree86 4.x. 2001-10-09 07:36:36 +00:00
ru
e079f2d37f Update for FILE v3.37. 2001-10-09 07:31:02 +00:00
mdodd
0f1d07e308 Minor output formatting for 'netstat -i':
- Right align Mtu
- Print AF_INET family with correct field width.
2001-10-09 05:58:26 +00:00