Commit Graph

24030 Commits

Author SHA1 Message Date
charnier
301a83d5c0 Use err(3). Add usage and prototypes. Use getopt(). Document -v flag. 1997-08-28 06:28:08 +00:00
imp
fafa82ed45 Stop parsing args before user supplied to argument in sendmail.
Submitted by:	Oliver Friedrichs <oliver@silence.secnet.com>
1997-08-28 04:40:51 +00:00
msmith
4b9ff0e3e3 Add prototype for isa_dmastop() 1997-08-28 03:37:46 +00:00
msmith
4561d606a5 Here is a patch to alleviate the current problem with the dma interface
and the sound driver which uses auto dma.

The  dma interface functionality remains however it now checks
to see if a dma is operating in auto dma mode and if so it bypasses
the busy flag check . I have modified the sound driver 3.5  to
adjust for this new behavior and tested it under FreeBSD 3.0 -current

This patch also includes the new function isa_dmastop.

Submitted by:	Amancio Hasty <hasty@rah.star-gate.com>
1997-08-28 03:36:40 +00:00
jdp
66c70016d7 Add the necessary defines to the freebsd-elf configuration so that
it can be built via BINFORMAT=elf in the environment.  Most likely
some of the directory defines such as STANDARD_EXEC_PREFIX will
change again soon, as we settle on the proper locations for the
various components.

Note, the build still fails when it tries to compile libgcc2.c
using the ELF compiler, unless arrangements have been made for the
compiler to find the ELF assembler instead of the a.out assembler.
1997-08-28 01:38:56 +00:00
julian
6c90e3528c Add a per-interface-address pointer to a function that can be supplied
by a protocol, to detirmine if an address matches the net this address
is part of.  This is needed by protocols for which netmasks
"just don't work", for example appletalk.

Also add the code in appletalk to make use of this new feature.
Thsi fixes one of the longest standing bugs in appletalk.
The inability to talk to machines to which the path is via a router
which is on a different net, but the same netrange, as your interface.
Protocols that do not supply this function (e.g. IP) should not be affected.
1997-08-28 01:17:12 +00:00
kato
b687a4a7e7 Include "opt_ddb.h" only when NULLFS_DIAGNOSTIC is defined. 1997-08-28 00:44:43 +00:00
brian
05f54f9377 Use login_progok(). 1997-08-27 20:11:16 +00:00
brian
6c9afb5a31 Add full support for determining if a user
is restricted from running a given program.
1997-08-27 20:06:20 +00:00
joerg
1fa2fafd21 Major Ooops. I've overlooked a few calls to scanident() in my last commit.
Submitted by:	rbezuide@oskar.nanoteq.co.za (Reinier Bezuidenhout)
1997-08-27 17:18:30 +00:00
ache
dbbb9f298f Use getpwnam(getlogin()) before getpwuid(getuid()) 1997-08-27 13:36:34 +00:00
phk
cb8d9886a9 Improvement of type independency for the bitmap.
This makes 64bit operation more likely.

Reviewed by:	phk
Submitted by:	jdp
1997-08-27 12:04:33 +00:00
kato
510b497b0c Use existing path, even though PC-98 doesn't support each device driver. 1997-08-27 08:47:03 +00:00
kato
9038ada377 Fixed NULLFS_DIAGNOSTIC stuff. 1997-08-27 08:44:43 +00:00
kato
50d8ef1283 Synchronize with sys/i386/i386/machdep.c and trap.c revision 1.258 and
1.108, respectively.
1997-08-27 08:43:21 +00:00
phk
f276c66ddf Malloc option H is now default. 1997-08-27 06:40:34 +00:00
jkh
f9bc029397 Don't preferentially execute Makefiles in ${OBJDIR} - it just causes
confusion and suffering.  Tested by "make world".
Submitted by:	gibbs
1997-08-27 06:31:27 +00:00
charnier
510a917b8a Uncomment sccsid string and enclose it inside #if 0/#endif.
Cosmetic in man page.
1997-08-27 06:29:23 +00:00
charnier
c70b56d9e7 Use err(3) instead of local redefinition. 1997-08-27 06:26:23 +00:00
imp
4e4e5cd87b Don't getenv(HOME) when set[ug]od. This can lead to a buffer overflow and
elevated privs.
Obtained from: OpenBSD
1997-08-27 05:27:53 +00:00
peter
7dbdc70f84 Adapt to recent smp tree changes.. 1997-08-27 03:48:25 +00:00
julian
03fbc0db67 remove un-needed if statement (now the poul removed the 'then' clause) 1997-08-27 02:58:40 +00:00
brian
7b68941df9 Check the "prog.deny" login.conf capability and
refuse to run if "ppp" is in the list.
Suggested by:	"Daniel O'Callaghan" <danny@panda.hilink.com.au>
1997-08-26 23:20:16 +00:00
brian
b7ac9705e1 Add prog.deny as a list capability for
denying execution of certain programs.
1997-08-26 23:15:57 +00:00
wosch
ab42389908 Stop the growing list of shells if /etc/adduser.conf
was updated.
1997-08-26 22:47:51 +00:00
pst
5c80f76918 Update synopsis. A partial fix has also been submitted to opie@bugs@inner.net
Submitted by:	bde
1997-08-26 20:55:43 +00:00
peter
3df4daaa03 Correct some things I forgot about until it was too late with smp_active.
smp_active = 1 used to indicate that the system had frozen previously
started AP's, while smp_active = 0 was "AP's not yet started".  I have split
this into smp_started (which is set when the AP's come online), and
smp_active is left for turning on/off AP scheduling.
1997-08-26 18:36:15 +00:00
peter
7dfe3e5abe Clean up the SMP AP bootstrap and eliminate the wretched idle procs.
- We now have enough per-cpu idle context, the real idle loop has been
revived (cpu's halt now with nothing to do).
- Some preliminary support for running some operations outside the
global lock (eg: zeroing "free but not yet zeroed pages") is present
but appears to cause problems.  Off by default.
- the smp_active sysctl now behaves differently. It's merely a 'true/false'
option.  Setting smp_active to zero causes the AP's to halt in the idle
loop and stop scheduling processes.
- bootstrap is a lot safer.  Instead of sharing a statically compiled in
stack a number of times (which has caused lots of problems) and then
abandoning it, we use the idle context to boot the AP's directly.  This
should help >2 cpu support since the bootlock stuff was in doubt.
- print physical apic id in traps.. helps identify private pages getting
out of sync.  (You don't want to know how much hair I tore out with this!)

More cleanup to follow, this is more of a checkpoint than a
'finished' thing.
1997-08-26 18:10:38 +00:00
julian
4ef08431e3 two fixes submitted by Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
fixes problems in unmounting and propogation.
1997-08-26 17:17:52 +00:00
bde
f8dbb1299d Fixed cleandepend target. Subdirectories weren't handled unless SRCS
was defined.
1997-08-26 16:54:33 +00:00
kato
d4514745f5 Synchronize with sys/i386/isa/syscons.h revision 1.32. 1997-08-26 15:09:36 +00:00
kato
cc4767c96f Synchronize with sys/i386/isa/isa.c revision 1.102. 1997-08-26 15:08:52 +00:00
peter
296745d84b Remove unneeded ${.MAKEFLAGS} being explicitly passed on via the command
line..

PR:  4368
1997-08-26 14:15:25 +00:00
bde
f100f14114 -I/sys -> ${.CURDIR}/../../sys. This should finish replacing /sys by
a relative path.
1997-08-26 14:13:50 +00:00
bde
fb2ef58cd8 -I${DESTDIR}/sys -> -I${.CURDIR}/../../sys. 1997-08-26 14:13:02 +00:00
bde
e9c8d2cf8a Removed bogus -I path in CFLAGS. 1997-08-26 13:49:26 +00:00
ache
1bdac08e33 Temp restore of rev 1.9 1997-08-26 12:47:09 +00:00
bde
c312d330af Restored rev.1.92 which was clobbered by the previous commit. 1997-08-26 11:59:20 +00:00
charnier
b7e4fd63e8 Use err(3). Add usage() and prototypes. 1997-08-26 11:23:37 +00:00
charnier
7f44bec4ad Cosmetic in usage string. 1997-08-26 11:17:16 +00:00
charnier
19da442f11 Use err(3). 1997-08-26 11:16:08 +00:00
charnier
a5eee593ac Use err(3). Add usage(). 1997-08-26 11:14:57 +00:00
charnier
80e0f83375 Cosmetic in usage string. Mdocify author section. 1997-08-26 11:13:39 +00:00
charnier
287f219c02 Main() returns int. 1997-08-26 11:08:24 +00:00
eivind
0e114b0322 Removed a buffer overflow in args().
While I'm here, fix a bug with 'register' in conjunction with setjmp(),
staticize and do some -Wall cleaning.
1997-08-26 10:25:19 +00:00
phk
fddfc9d5bb Uncut&paste cache_lookup().
This unifies several times in theory indentical 50 lines of code.

The filesystems have a new method: vop_cachedlookup, which is the
meat of the lookup, and use vfs_cache_lookup() for their vop_lookup
method.  vfs_cache_lookup() will check the namecache and pass on
to the vop_cachedlookup method in case of a miss.

It's still the task of the individual filesystems to populate the
namecache with cache_enter().

Filesystems that do not use the namecache will just provide the
vop_lookup method as usual.
1997-08-26 07:32:51 +00:00
charnier
f320b3a306 Just forgot a moment that mdoc macros are limited to 9 parameters.
Found by: Bruce.
1997-08-26 07:04:20 +00:00
charnier
98f0299552 Revert some casts I introduced.
Requested by: Bruce.
1997-08-26 06:59:34 +00:00
fsmp
466450db24 Removed suggested "options AUTO_START", no longer used.
Noticed by:	 Vincent Poy <vince@mail.MCESTATE.COM>
1997-08-26 05:12:45 +00:00
dyson
b90433b1a9 Back out some incorrect changes that was worse than the original bug. 1997-08-26 04:36:27 +00:00