Commit Graph

24049 Commits

Author SHA1 Message Date
msmith
6d017f8882 Make the devfs code actually compile. Oops.
Submitted by:	jkh
1997-08-29 00:30:11 +00:00
jdp
ca6bace4ac Add a stub version of getpublickey(), in order to eliminate an
undefined symbol referenced from libc.  Without the stub, it is
impossible to execute any program using the shared library if
LD_BIND_NOW=1 is in the environment.  The stub always returns
failure, but it can be overridden outside the library when necessary.

I don't know whether this is the "correct" fix, but it is intolerable
to have any undefined symbols referenced from libc.
1997-08-28 21:50:33 +00:00
jlemon
83408a9c6f Make X11 support in doscmd dependent on the actual libX11.a library and
include directory, rather than X11BASE.  This fixes the build for people
who only have the shared X11 distribution installed.
Requested-by:	A Joseph Koshy <koshy@india.hp.com>
1997-08-28 18:23:40 +00:00
jkh
3719576e9f Patch for 3.0: #include <sys/fcntl.h> instead of <sys/ioctl.h> 1997-08-28 15:23:10 +00:00
jlemon
606ecfe8ba Document the VM86 option.
Reminded-by:	John-Mark Gurney
1997-08-28 15:00:05 +00:00
jlemon
0409c56b5c Remove the vm86 LKM. 1997-08-28 14:45:26 +00:00
jlemon
d7a8a42c17 Remove the vm86 support as an LKM, and link it directly into the kernel
if 'options "VM86"' is in the config file.  The LKM was really for
development, and has probably outlived its usefulness.
1997-08-28 14:36:56 +00:00
itojun
0186fab0e8 To cope with shell archive file generated by GNU sharutils 4.2.
(it assumes that shar will bark if there's invalid argument specified)

Patch suggested by Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>.

Reviewed by:	joerg_wunsch@uriah.heep.sax.de
1997-08-28 14:35:09 +00:00
kato
2e3575193f Synchronize with sys/i386/conf/files.i386 and majors.i386 revisions
1.172 and 1.17, respectively.
1997-08-28 14:21:12 +00:00
wosch
0af2669867 Add an example file for private E-Mail aliases. A user can share
~/.mail_aliases with different mail clients (e.g. mutt, mail) and can
make ~/.mailrc readable and keep the aliases private.
1997-08-28 13:36:56 +00:00
jkh
6c52097e6b ISA driver for Comtrol Rocketport serial cards. No PCI probe stub
was submitted to me.
Submitted by:	Amir Farah <amir@comtrol.com>
1997-08-28 12:19:05 +00:00
jkh
25d7235c2a Add entries for Comtrol Rocketport serial card.
Submitted by:	Amir Farah <amir@comtrol.com>
1997-08-28 12:18:09 +00:00
jkh
4a8995ee5e Add entries for Comtrol Rocketport driver.
Submitted by:	Amir Farah <amir@comtrol.com>
1997-08-28 12:14:14 +00:00
msmith
0ede277624 Remove bogus timeout_func_t casts.
Remove unused headers.
Remove all but one instance of the device base name.
Prototype some local static functions.
Consistently reference the softc structure as "sc" rather than "lpt".

Prompted-by:	bde
1997-08-28 11:12:08 +00:00
msmith
cfa78d06d1 Remove bogus i386/* includes. 1997-08-28 10:15:20 +00:00
kato
a9c3fa858b Moved include files which are independent of bs driver. 1997-08-28 09:23:57 +00:00
kato
bd4f981fda Synchronize with sys/i386/isa/isa.c revision 1.103. 1997-08-28 09:15:31 +00:00
ache
154763e7ad Fix inspace handling I broke in rev 1.13 1997-08-28 08:13:21 +00:00
charnier
16a280858c Use err(3). Rewrote man page in mdoc format. The user visible change is that
report of s/r and r/r conflicts is now printed in two separate lines beginning
by `yacc: '.
1997-08-28 06:33:53 +00:00
charnier
35724bfde0 Use err(3). Add usage and prototypes. Use getopt(). Document -v flag. 1997-08-28 06:28:08 +00:00
imp
c7f78f499e 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
dbeb3615a1 Add prototype for isa_dmastop() 1997-08-28 03:37:46 +00:00
msmith
42a01255f3 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
3b21ad96b2 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
2c2a7360b2 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
b91306ebeb Include "opt_ddb.h" only when NULLFS_DIAGNOSTIC is defined. 1997-08-28 00:44:43 +00:00
brian
1d10011531 Use login_progok(). 1997-08-27 20:11:16 +00:00
brian
8b40cd7eec Add full support for determining if a user
is restricted from running a given program.
1997-08-27 20:06:20 +00:00
joerg
baa22d6b37 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
7a50669429 Use getpwnam(getlogin()) before getpwuid(getuid()) 1997-08-27 13:36:34 +00:00
phk
5a30ca0c56 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
a2e23009f1 Use existing path, even though PC-98 doesn't support each device driver. 1997-08-27 08:47:03 +00:00
kato
51cc097afa Fixed NULLFS_DIAGNOSTIC stuff. 1997-08-27 08:44:43 +00:00
kato
1e2391dd18 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
541bb01b22 Malloc option H is now default. 1997-08-27 06:40:34 +00:00
jkh
e04776f271 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
0da82d0dd8 Uncomment sccsid string and enclose it inside #if 0/#endif.
Cosmetic in man page.
1997-08-27 06:29:23 +00:00
charnier
65ba7761d3 Use err(3) instead of local redefinition. 1997-08-27 06:26:23 +00:00
imp
30aeebf12f 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
f4d76fa2a9 Adapt to recent smp tree changes.. 1997-08-27 03:48:25 +00:00
julian
00deec3cd4 remove un-needed if statement (now the poul removed the 'then' clause) 1997-08-27 02:58:40 +00:00
brian
f54cfe70ec 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
60e440ef1f Add prog.deny as a list capability for
denying execution of certain programs.
1997-08-26 23:15:57 +00:00
wosch
5b76fde2c9 Stop the growing list of shells if /etc/adduser.conf
was updated.
1997-08-26 22:47:51 +00:00
pst
cf2cf7068f 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
a2ae9c0e2b 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
b952b9044c 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
decee54d74 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
6a8f4d2e50 Fixed cleandepend target. Subdirectories weren't handled unless SRCS
was defined.
1997-08-26 16:54:33 +00:00
kato
11e7d1def4 Synchronize with sys/i386/isa/syscons.h revision 1.32. 1997-08-26 15:09:36 +00:00