Warner Losh
127d7563c4
Add -execdir which will execute the exec command in the dir of the file
...
in question. This change and the fts changes should be merged into 2.2-stable
as soon as they are vetted in -current. This should allow cleaning of files
in /tmp to be reneabled.
Obtained from: OpenBSD
1997-08-29 23:09:45 +00:00
Warner Losh
9a91f1cc25
Merge in the safe chdir changes from Todd Miller's mods to the OpenBSD
...
tree. Also merge in fix to NetBSD PR #1495 . These represent 1.3-1.9 in
the OpenBSD tree. Make minor KNF changes to new code (which is in the
OpenBSD as 1.10). This avoids the symlink race problems.
These patches should go into 2.2.5 before the ship if they don't
break anything in -current.
Reviewed by: Bruce Evans
Obtained from: OpenBSD
1997-08-29 22:56:41 +00:00
Guido van Rooij
e90cdb54db
Plug info agthering attack as pointed out on Bugtraq recently.
...
Obtained from: OpenBSD
1997-08-29 19:22:28 +00:00
Steve Passe
34162fc615
Support for the new FAST_HI algorithm, enabled.
...
Preliminary support for the INTR_SIMPLELOCK algorithm, disabled.
Note that this code is NOT ready.
1997-08-29 18:45:23 +00:00
Steve Passe
5f642c1666
Support for the new FAST_HI algorithm.
...
Improved interrupt handling, fewer silo overflows.
With help from: dave adkins <adkin003@gold.tc.umn.edu>
1997-08-29 18:16:18 +00:00
Warner Losh
83eea89664
Remove and odd sleep found by David Holland and posted to -security.
...
Reviewed by: Theo de Raadt (who put it into OpenBSD)
Submitted by: David Holland <dholland@eecs.harvard.edu>
1997-08-29 18:00:11 +00:00
Steve Passe
57fe49bd03
Introduce FAST_HI option, ON by default.
...
This options allows a CPU that is blocked spinning for the giant lock
to process FAST_INTR() ISRs, eg. siointr().
1997-08-29 17:58:30 +00:00
Søren Schmidt
cf302734e1
Dont use an internal function called warn it clashes with libc.
...
Allows ELF compile.
1997-08-29 16:14:20 +00:00
Søren Schmidt
a885d9dcf9
Dont have an internal function named "warn" it clashes with libc..
...
Needed for ELF.
1997-08-29 16:12:30 +00:00
KATO Takenori
89325c4349
Synchronize with sys/i386/i386/userconfig.c revision 1.90.
1997-08-29 14:53:18 +00:00
KATO Takenori
24f6ec85ea
Use correct member of scsi_cint for scbus. Add a space between lun
...
and flags.
Reviewed by: kato
Submitted by: Chiharu Shibata <chi@rd.njk.co.jp>
1997-08-29 14:47:31 +00:00
Peter Wemm
3d9616690c
Insert first cut of hooks for compiling under ELF.
1997-08-29 14:02:14 +00:00
Peter Wemm
7e48c2c416
Insert hooks for building under elf.
1997-08-29 13:58:08 +00:00
Peter Wemm
fa170aac22
This commit was generated by cvs2svn to compensate for changes in r28896,
...
which included commits to RCS files with non-trunk default branches.
1997-08-29 13:48:36 +00:00
Peter Wemm
a5c9a443bf
Import a file that is needed when compiling under ELF.
1997-08-29 13:48:36 +00:00
Philippe Charnier
7008c93ddf
Use err(3). Cosmetic in usage(). Delay the compute of defaultdomain (from
...
OpenBSD).
Obtained from: OpenBSD.
1997-08-29 11:56:51 +00:00
Philippe Charnier
3eff8361b9
Use err(3). Add Xreferences. Delay the compute of default domain.
...
Obtained from: OpenBSD
1997-08-29 11:52:52 +00:00
Philippe Charnier
c1f84cc129
Use err(3). Add references to others man pages. Wait for the user to
...
supply the domain before computing a default one.
Obtained from: OpenBSD
1997-08-29 11:48:50 +00:00
Wolfram Schneider
5d7128668c
du(1) always exit with value zero.
...
$ du /foobar
du: /foobar: No such file or directory
$ echo $?
0
1997-08-29 11:40:00 +00:00
KATO Takenori
d3e65fbc89
Fix typo in the comment introduced by me.
1997-08-29 11:01:14 +00:00
David E. O'Brien
e983bbadc0
Real skeleton manpage for install-info
...
(someone that actually knows what it really does (I don't use info) really
should try to put some meat in this)
1997-08-29 09:10:22 +00:00
KATO Takenori
664f85174a
Added a sysctl arg, hw.machine_arch. The hw.machine_arch is "ibm-pc"
...
on IBM-PC box and is "pc-98" on NEC PC-98 box. Userland program can
distinguish architecture on which the program runs.
1997-08-29 09:03:40 +00:00
KATO Takenori
4c7bdfd64b
Synchronize with sys/i386/conf/files.i386 and sys/i386/i386/trap.c
...
revisions 1.173 and 1.109, respectively.
1997-08-29 08:15:57 +00:00
Peter Wemm
3be5a5220c
"fix" this for compiling under the sticter ELF linker.. There was a
...
reference to an undefined function (digit_value_in_base()) that was static
elsewhere that it was used.
1997-08-29 06:14:05 +00:00
Peter Wemm
2eba9bcd51
Merge in some of my changes with John's. I've used this to build
...
an ELF system. I'm not sure about some of the things here. We definately
need to go back and rationalize this.
1997-08-29 06:11:52 +00:00
Jun-ichiro itojun Hagino
de51002fc7
more sanity check before making output.
...
bark when sed fails.
Submitted by: wosch@apfel.de
1997-08-29 00:44:34 +00:00
Mike Smith
ef6ab9c7ee
Make the devfs code actually compile. Oops.
...
Submitted by: jkh
1997-08-29 00:30:11 +00:00
John Polstra
9295bb8d0d
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
Jonathan Lemon
fac6290362
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
Jordan K. Hubbard
b9c72653a1
Patch for 3.0: #include <sys/fcntl.h> instead of <sys/ioctl.h>
1997-08-28 15:23:10 +00:00
Jonathan Lemon
adeb9a12ce
Document the VM86 option.
...
Reminded-by: John-Mark Gurney
1997-08-28 15:00:05 +00:00
Jonathan Lemon
ad47cbca85
Remove the vm86 LKM.
1997-08-28 14:45:26 +00:00
Jonathan Lemon
5f07393373
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
Jun-ichiro itojun Hagino
53202ce57a
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 Takenori
a1b442d74c
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
Wolfram Schneider
af6e68d72a
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
Jordan K. Hubbard
866595c01c
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
Jordan K. Hubbard
3b577e1f2f
Add entries for Comtrol Rocketport serial card.
...
Submitted by: Amir Farah <amir@comtrol.com>
1997-08-28 12:18:09 +00:00
Jordan K. Hubbard
f9e0c4246c
Add entries for Comtrol Rocketport driver.
...
Submitted by: Amir Farah <amir@comtrol.com>
1997-08-28 12:14:14 +00:00
Mike Smith
ca61c52458
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
Mike Smith
1e505cea7d
Remove bogus i386/* includes.
1997-08-28 10:15:20 +00:00
KATO Takenori
27cb053198
Moved include files which are independent of bs driver.
1997-08-28 09:23:57 +00:00
KATO Takenori
0bce7b8410
Synchronize with sys/i386/isa/isa.c revision 1.103.
1997-08-28 09:15:31 +00:00
Andrey A. Chernov
ef5ccd9e3c
Fix inspace handling I broke in rev 1.13
1997-08-28 08:13:21 +00:00
Philippe Charnier
fca5180712
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
Philippe Charnier
7720a19d5d
Use err(3). Add usage and prototypes. Use getopt(). Document -v flag.
1997-08-28 06:28:08 +00:00
Warner Losh
bd29c5f39b
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
Mike Smith
1b0b864911
Add prototype for isa_dmastop()
1997-08-28 03:37:46 +00:00
Mike Smith
67fb1e6a0c
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
John Polstra
6eb0e3b9f9
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