Commit Graph

37356 Commits

Author SHA1 Message Date
phk
58c42d9a16 Add the jail system call. 1999-04-28 11:28:49 +00:00
dt
ba8c622703 s/static foo_devsw_installed = 0;/static int foo_devsw_installed;/.
(Edited automatically)
1999-04-28 10:54:24 +00:00
jkh
a444f336d9 Deal with new loader syntax in determining how/when to load a userconfig
script.

Submitted by:		"Daniel C. Sobral" <dcs@newsguy.com>
Avoided by:		jkh
Demanded by:		The Users
1999-04-28 10:51:01 +00:00
joerg
4791ab9d40 Mention that you can only create a block or char special file using
mknod(2).
1999-04-28 10:04:48 +00:00
kato
3c0ac2ab1f Sync with sys/i386/isa/clock.c revision 1.132. 1999-04-28 08:06:00 +00:00
kato
0c9ccf1299 Sync with sys/i386/i386/machdep.c revision 1.332. 1999-04-28 08:03:54 +00:00
obrien
e3ff2d4586 \begin{bdemode}
sort tcpd* entries
\end{bdemode}
1999-04-28 08:00:50 +00:00
foxfair
7da0d1d0f5 Correction of better display under chinese terminal.
Submitted by : Peter_Chen.bbs@bbs.csie.nctu.edu.tw
1999-04-28 07:27:04 +00:00
jkh
090a31925d Write config files to /usr/share/skel as well as root's profile. 1999-04-28 07:20:11 +00:00
jkh
3667395a42 By popular request, add /usr/local/sbin to this list. 1999-04-28 06:43:08 +00:00
jkh
522c1b88d0 Do the right thing for windowmaker installation if it's picked. Add some
seat belts for failed desktop installations.
1999-04-28 06:39:25 +00:00
imp
f7508f90bb Add two recent developments:
pccard is busted
	The cool new SMP stuff
1999-04-28 05:18:46 +00:00
jkoshy
405f483647 Correct reference to '/dev/rst0' to the more correct "/dev/rsa0".
PR:		11347
Submitted by:	Christian Weisgerber
1999-04-28 05:08:13 +00:00
ghelmer
5509f489bb Explain when packets are tesed by the firewall rules and what attributes
of packets can be tested.

PR:		docs/7437
1999-04-28 02:49:29 +00:00
luoqi
ff48ed9c3e Make gdb work with kernel after the SMP vmspace sharing changes. 1999-04-28 01:27:55 +00:00
msmith
ae853b3a11 Allow loadable interface drivers with BPF support to be loaded into a kernel
that doesn't have it.  This is achieved by having minimal do-nothing stubs
enabled when there are no bpfilter devices configured.

Driver modules should be built with BPF enabled for maximum
convenience (but can be built without it for maximum performance).
1999-04-28 01:18:13 +00:00
luoqi
af7e9be5cc Enable vmspace sharing on SMP. Major changes are,
- %fs register is added to trapframe and saved/restored upon kernel entry/exit.
- Per-cpu pages are no longer mapped at the same virtual address.
- Each cpu now has a separate gdt selector table. A new segment selector
  is added to point to per-cpu pages, per-cpu global variables are now
  accessed through this new selector (%fs). The selectors in gdt table are
  rearranged for cache line optimization.
- fask_vfork is now on as default for both UP and SMP.
- Some aio code cleanup.

Reviewed by:	Alan Cox	<alc@cs.rice.edu>
		John Dyson	<dyson@iquest.net>
		Julian Elischer	<julian@whistel.com>
		Bruce Evans	<bde@zeta.org.au>
		David Greenman	<dg@root.com>
1999-04-28 01:04:33 +00:00
hoek
0f4a245030 .Xr chflags 1 , 1999-04-27 23:33:52 +00:00
msmith
81f00f311a Simplify the tunefs example, since tunefs uses getfsfile(). Lots of
people complain about working out what device their filesystems are
mounted on.
1999-04-27 21:11:19 +00:00
obrien
152572105d Simplify the definition of FBSD_SWITCH_TAKES_ARG, and make sure
SWITCH_TAKES_ARG isn't defined (which svr4.h does) when we assign our
definition to it.
1999-04-27 19:29:44 +00:00
jdp
400af7ccab Eliminate compiler warning about missing type in declaration.
Remove useless initialization of static variable to 0.

Move static variable declaration into the only function that uses
it.
1999-04-27 18:47:39 +00:00
jdp
20a0a375c2 Fix the code that prints the "Initializing PC-card drivers" message
so that the list of drivers is correct.  This is a slightly
simplified version of the patch from the PR.

PR:		misc/10544
Submitted by:	Christophe Colle <colle@krtkg1.rug.ac.be>
1999-04-27 18:34:13 +00:00
obrien
01aaff1d4d Wait until EGCS 1.2 to use more efficient ``thunks'' to implement C++ vtables.
While I have yet to hear of any problems with us using thunks.  The EGCS
mailing list notes some have problems with it and not using them are a
safer default.  People wanting to use them, can set the appropiate
compiler flag.
1999-04-27 15:43:56 +00:00
jkh
19ffa5eea8 o Make package matching for specific package loading use the Latest/
feature of packages now so that no version info is embedded.

o Add a default X desktop menu offering afterstep, enlightenment, KDE, GNOME
  and Windowmaker desktops instead of the boring twm(1) based one if the
  user so chooses.  This will require a little testing.
1999-04-27 14:33:29 +00:00
phk
c85ea5017c Change suser_xxx() to suser() where it applies. 1999-04-27 12:21:16 +00:00
jkh
a6d35492b3 1. Remove the hateful EDITOR=ee from root's environment; it's one
thing to use it at startup, when you don't know if the user can
   handle vi or not, but yet another thing to leave it as a permanent
   land mine for root.

2. Put /usr/X11R6/bin in path; it makes getting the desktop up a lot easier.
1999-04-27 11:55:02 +00:00
phk
c3fbb1bdbc bump __FreeBSD_version to 400005:
suser() API changed.
1999-04-27 11:20:54 +00:00
phk
16e3fbd2c1 Suser() simplification:
1:
  s/suser/suser_xxx/

2:
  Add new function: suser(struct proc *), prototyped in <sys/proc.h>.

3:
  s/suser_xxx(\([a-zA-Z0-9_]*\)->p_ucred, \&\1->p_acflag)/suser(\1)/

The remaining suser_xxx() calls will be scrutinized and dealt with
later.

There may be some unneeded #include <sys/cred.h>, but they are left
as an exercise for Bruce.

More changes to the suser() API will come along with the "jail" code.
1999-04-27 11:18:52 +00:00
jkh
aba5e776bb lpd tries to be clever and checks if RM == my_hostname.
However, it doesn't check if the remote printer name it
is sending it to is the same as the local printer name,
and so chokes 'cos "laser" is not a real printer.

PR:		7081
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
1999-04-27 07:09:18 +00:00
max
d3809450ef echo ^G^G -> echo \007\007 in loader.rc in kern.flp. 1999-04-27 05:09:43 +00:00
hoek
25446ce2c8 Mention that set-id bits are not honoured for shell scripts and
filesystems with the "nosuid" option.  Mention that syscall tracing
is disabled sometimes.

PR:		misc/11328
1999-04-27 03:56:10 +00:00
jkh
45b960a6f5 If pkg_info is run with no args, default to "-aI". 1999-04-27 02:30:27 +00:00
luoqi
f768143bcb Make options like NO_F00F_HACK work (with context sensitive lexical rules). 1999-04-27 01:37:01 +00:00
brian
1ee0c6ceb2 Specify the ssh command to use for a VPN inline. 1999-04-27 00:25:22 +00:00
brian
9a2c03d6d7 Change ``set device'' so that it parses its arguments as one
device per argument rather than the old way of concatenating
everything then splitting the result at commas and whitespace.

Old syntax of ``set device /dev/cuaa0, /dev/cuaa1''
may no longer contain the comma, but syntax such as
``set device "!ssh host ppp -direct label"'' is now
possible.
1999-04-27 00:23:57 +00:00
ken
37aa35f17e Fix from Justin for transfer negotiations for targets up to target ID 7. 1999-04-26 22:03:44 +00:00
luigi
564d182065 Add support for printing bridging statistics with ``-p bdg '' .
If someone has a better flag to use I'll be glad to change it.
1999-04-26 16:11:50 +00:00
luigi
e73255d2dc Make one pass through the firewall the default.
Multiple pass (which only affects dummynet) is too confusing.
1999-04-26 14:57:24 +00:00
kris
0661f43043 Move an option outside of a nested list and up a bit to live free among
its brothers and sisters.
1999-04-26 14:08:04 +00:00
peter
0898e23a67 Only call kvtop on non-null id_maddr's... 1999-04-26 12:49:39 +00:00
peter
c73393db8c Temporary hack. The radix code shouldn't need this, it should be
able to expand the zeros, ones etc masks on the fly.  It seems a good
number of domains don't set the rn_maxkey variable anyway, and because
this is a domain itself, there is no guarantee we've been called after
a protocol that actually has set it (ie: inet), so start with a maxkey
of a relatively sane size as a base point until it can adapt on the fly.
1999-04-26 09:05:31 +00:00
peter
e29be9ada8 Protect the ifinit() function's internals with splimp() for safety since
it used to be that way. I'm not sure that it's needed, but it does
walk the ifp list..

Incidently, there's nothing to sanity check the ifq_maxlen on loaded
interfaces..
1999-04-26 09:02:40 +00:00
peter
0f064f4579 Minor seatbelt tweak. The init code used to be splimp() protected,
maintain that in case.
1999-04-26 09:00:47 +00:00
peter
cbc4b2562b Register the netisr's via SYSINIT rather than linker sets. 1999-04-26 08:57:51 +00:00
peter
fb89c43e31 Register the local (unix domain) sockets ourselves. 1999-04-26 08:56:53 +00:00
peter
71a85450ac Redo domain registration to use SYSINITS rather than linker sets.
Get rid of the spl wrapper kludge, it doesn't seem to be needed between
init calls since all that's running is the domain/protocol timers and they
are safe since domain list modifications are splnet() protected (which
blocks the timers)
1999-04-26 08:56:09 +00:00
brian
42c76b892b Add support for NetBSD 1999-04-26 08:54:34 +00:00
brian
d1f60b18e9 #include <errno.h>, not <sys/errno.h> 1999-04-26 08:54:25 +00:00
brian
074372cce4 Add support for NetBSD (history() from libedit is different). 1999-04-26 08:53:52 +00:00
peter
a6e9c12999 Make DOMAIN_SET() use SYSINIT rather than linker sets. 1999-04-26 08:53:03 +00:00