Commit Graph

24057 Commits

Author SHA1 Message Date
wosch
7f839a6925 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
cb17d7ed2c Fix typo in the comment introduced by me. 1997-08-29 11:01:14 +00:00
obrien
e9ee3ed37c 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
e896c0bacb 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
4593c74e11 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
5b5d694bfb "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
5c7910da94 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
itojun
6ebf25c91c more sanity check before making output.
bark when sed fails.

Submitted by:	wosch@apfel.de
1997-08-29 00:44:34 +00:00
msmith
baf2d6ffb6 Make the devfs code actually compile. Oops.
Submitted by:	jkh
1997-08-29 00:30:11 +00:00
jdp
1bb1b82690 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
38914117f0 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
3a22d79f32 Patch for 3.0: #include <sys/fcntl.h> instead of <sys/ioctl.h> 1997-08-28 15:23:10 +00:00
jlemon
ea696ab64a Document the VM86 option.
Reminded-by:	John-Mark Gurney
1997-08-28 15:00:05 +00:00
jlemon
37d5350c7b Remove the vm86 LKM. 1997-08-28 14:45:26 +00:00
jlemon
ada62b471a 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
a7e970a8d9 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
43150752a0 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
dc528f4349 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
9fba0a500f 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
d65a45c2bd Add entries for Comtrol Rocketport serial card.
Submitted by:	Amir Farah <amir@comtrol.com>
1997-08-28 12:18:09 +00:00
jkh
1e98da5dbb Add entries for Comtrol Rocketport driver.
Submitted by:	Amir Farah <amir@comtrol.com>
1997-08-28 12:14:14 +00:00
msmith
7b1d853eba 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
81bd091c4e Remove bogus i386/* includes. 1997-08-28 10:15:20 +00:00
kato
2d3c4989ab Moved include files which are independent of bs driver. 1997-08-28 09:23:57 +00:00
kato
5cd06fa9d9 Synchronize with sys/i386/isa/isa.c revision 1.103. 1997-08-28 09:15:31 +00:00
ache
e23235b428 Fix inspace handling I broke in rev 1.13 1997-08-28 08:13:21 +00:00
charnier
0497c512b6 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
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