Commit Graph

11816 Commits

Author SHA1 Message Date
peter
ca76751ddc Make pipe() return a set of bidirectional pipe fd's rather than one-way only
just like on SVR4.

This has no effect on any current programs in our source, but makes
the use of SVR4 code a little easier.  There is no code or implementation
cost in the kernel.. This two-line change merely sets the modes on the ends
of the pipes to be bidirectional.  There are no other changes.
1996-01-01 10:28:21 +00:00
peter
76ccec8b12 My really ugly hack to ifconfig to make it pick up interface aliases
and the ethernet address for non-root users.

I apologise to the world for propagating the ugliness of some of the code
constructs within ifconfig...  Fixing them would just abou mean rewriting
most of the function call interfaces, something I didn't have the stomach
for. :-)
1996-01-01 09:05:22 +00:00
peter
0fdeab8ba7 Get sendmail to detect when to use the setproctitle() in libutil
This uses osreldate.h and other stuff to determine whether it's on a
-current system.  It should still compile cleanly on a -stable branch
system.
1996-01-01 08:54:01 +00:00
peter
3b73747ada Minimal changes to get named to use libutil's setproctitle()...
The old code is still there with #ifdef OLD_SETPROCTITLE
1996-01-01 08:44:53 +00:00
peter
eb8e89ecaf Make inetd use setproctitle from libutil instead of it's own version.
The old code can probably still be compiled with #define OLD_SETPROCTITLE
1996-01-01 08:42:23 +00:00
peter
ae296d3181 Make nfsd use setproctitle from libutil...
Old code is still #ifdef OLD_SETPROCTITLE for comparison with the old
code.
1996-01-01 08:39:39 +00:00
peter
5e9ed8caa7 Add hooks into the mount_mfs code in newfs to do the FreeBSD-style
LKM loading if it was not configured into the system.

Note that the LKM for MFS is not enabled by default, but I got it working on
my machine..  I'll see what I did..
1996-01-01 08:37:28 +00:00
peter
eee47fe281 Make ftpd use setproctitle() from libutil
I've left the old code in there under #ifdef OLD_SETPROCTITLE in case
somebody wants to try to compile out ftpd on some other machine.
1996-01-01 08:35:11 +00:00
peter
6a9e3f1567 Add libutil/beforeinstall to the includes target 1996-01-01 08:33:17 +00:00
peter
42bbbd2861 Bump libutil revision after recent addition of setproctitle().
Install (optional) libutil.h with prototypes for the functions and
document this in the man page.

minor cleanups to the various routines, include the prototype file, declare
return codes etc.
1996-01-01 08:27:41 +00:00
jkh
caa7284440 Create individual tests for each dialog feature. 1996-01-01 03:45:32 +00:00
jkh
ff9186df13 Next round of changes - make dialog boxes drawable at arbitrary X,Y locations
and add selection traversal callbacks so context-sensitive behavior can
even be implemented for individual menu items.  These work around the two
largest issues holding me back with some of my sysinstall changes.
1996-01-01 03:43:58 +00:00
ats
2d12b11ef8 Add sasc to the clean/cleandir target. The machine dependent targets
doesn't get cleaned up otherwise.
1995-12-31 21:32:17 +00:00
joerg
443d347603 Hopefully the last bogons that prevented me from running a successful
`make release':

. the `doc' distribution was missing, so the FAQ and handbook files
  couldn't be installed (Q: why did the psd etc. files install, only
  that the dirs had the wrong ownership?)

. the crunched binaries do need now -lipx
1995-12-31 17:10:05 +00:00
joerg
b25d0732bc The etc.i386/fstab.* files have been nuked, so don't try to install
them.
1995-12-31 17:06:56 +00:00
joerg
b6da577a94 Finally complete my fix for the behaviour of getpass(3) upon receipt
of signals.  Signals are now properly caught, tty state is being
restored, and the previous sigaction triggered.  Upon receipt of a
sigcont, echo is turned off again.

SIGTSTP causes a buffer flush, the man page mentions this.  (Although
i rather think of it as a feature than a bug.)

This is likely to be my last FreeBSD action for 1995, xearth shows
me that our .au guys must already write 1996. :-)
1995-12-31 14:00:25 +00:00
joerg
4417f79623 Restrict /devfs/io perms to 0600.
Nobody in our regular source tree, or in the non-distfile part of the
ports tree does use /dev/io anyway, so this might be replaced by
another scenario some day.
1995-12-31 09:32:16 +00:00
joerg
0947c5eeda Restrict /dev/io perms to 0600. 1995-12-31 09:30:30 +00:00
phk
c3cebb2932 Make the counters unsigned longs so that tapes don't contain negative
number of bytes.
1995-12-31 09:00:24 +00:00
joerg
2a7f2932b3 Add man pages for devfs functions after Julian's descripton.
Someone must be the first. :)
1995-12-31 00:08:18 +00:00
dg
6f6e7c6fd8 In memory test, cast pointer as "volatile int *", not "int *" to make sure
that gcc doesn't cache the value used in the test. Pointed out by Erich
Boleyn <erich@uruk.org>.
1995-12-30 23:13:32 +00:00
joerg
8afe324a8c 2.1.0R is over and out. Comment out the tags for it from the release
Makefile (so release builds in -current require to set it from the
command line).

Make the cleanup of ${CHROOTDIR} non-fatal.  Otherwise, it stops
immediately if the ${CHROTDIR} is on a separately mounted file system.
1995-12-30 21:15:45 +00:00
peter
c3f352d4ad This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
peter
ab124e78b0 recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
joerg
15748830d0 Print dev minor #'s > 255 in hex.
Reviewed by:	jkh, kuku, phk
1995-12-30 18:15:30 +00:00
joerg
90efd6ee2f Use a medium_type field of 0 (Default), instead of the value that was
obtained by the MOSE SENSE command.  SONY drives are too stupid to eat
their own food.

Submitted by:	stu@solaris.com (Stu Phillips)

While i was at it, i've removed two bogus channel numbers in the``set
mono'' command, that kept my Toshiba drive complaining.

Also remove Julian's misspelling of `stereo'.
1995-12-30 13:56:28 +00:00
joerg
39d74eed64 Small man page tweaks:
. mention the need for procfs
. make it clear that default sorting is first by ctty, then by PID

Submitted by: schweikh@ito.uni-stuttgart.de (Jens Schweikhardt)
1995-12-30 13:52:02 +00:00
bde
a42f139b5a Copied mcount.c from the library again. #include'ing it via a relative
path to a possibly-nonexistent place didn't work well enough.  Sigh.
1995-12-30 07:24:13 +00:00
bde
946c0794b9 Added $Id$. 1995-12-30 07:01:50 +00:00
bde
e083626a92 Restored likely_com_ports[] from rev.1.122 so that Hayes ESP support at
least compiles.
1995-12-30 03:52:58 +00:00
sos
b783d37e86 Oops, forgot a little difference between my src-tree and ours... 1995-12-30 00:42:25 +00:00
sos
9ec9264def Fixed a bug with the ATAPI_STATIC option, so it compiles again. 1995-12-29 22:17:12 +00:00
sos
58acdd095c My first shot at get sound to work on the emulator.
Inspired by the work Amancio Hasty has done, but implemented
somewhat differently.
1995-12-29 22:12:14 +00:00
sos
d965394a53 Added SYSVSHM define 1995-12-29 22:10:49 +00:00
dg
cbdad23dbf Changed the default/min/max number of users to 8/2/512 for all machine
types. This is closer to the reality of reasonable values.
1995-12-29 18:24:43 +00:00
bde
39cdb05128 Implemented non-statistical kernel profiling. This is based on
looking at a high resolution clock for each of the following events:
function call, function return, interrupt entry, interrupt exit,
and interesting branches.  The differences between the times of
these events are added at appropriate places in a ordinary histogram
(as if very fast statistical profiling sampled the pc at those
places) so that ordinary gprof can be used to analyze the times.

gmon.h:
Histogram counters need to be 4 bytes for microsecond resolutions.
They will need to be larger for the 586 clock.
The comments were vax-centric and wrong even on vaxes.  Does anyone
disagree?

gprof4.c:
The standard gprof should support counters of all integral sizes
and the size of the counter should be in the gmon header.  This
hack will do until then.  (Use gprof4 -u to examine the results
of non-statistical profiling.)

config/*:
Non-statistical profiling is configured with `config -pp'.
`config -p' still gives ordinary profiling.

kgmon/*:
Non-statistical profiling is enabled with `kgmon -B'.  `kgmon -b'
still enables ordinary profiling (and distables non-statistical
profiling) if non-statistical profiling is configured.
1995-12-29 15:46:59 +00:00
bde
586cc683d8 Implemented non-statistical kernel profiling. This is based on
looking at a high resolution clock for each of the following events:
function call, function return, interrupt entry, interrupt exit,
and interesting branches.  The differences between the times of
these events are added at appropriate places in a ordinary histogram
(as if very fast statistical profiling sampled the pc at those
places) so that ordinary gprof can be used to analyze the times.

gmon.h:
Histogram counters need to be 4 bytes for microsecond resolutions.
They will need to be larger for the 586 clock.
The comments were vax-centric and wrong even on vaxes.  Does anyone
disagree?

gprof4.c:
The standard gprof should support counters of all integral sizes
and the size of the counter should be in the gmon header.  This
hack will do until then.  (Use gprof4 -u to examine the results
of non-statistical profiling.)

config/*:
Non-statistical profiling is configured with `config -pp'.
`config -p' still gives ordinary profiling.

kgmon/*:
Non-statistical profiling is enabled with `kgmon -B'.  `kgmon -b'
still enables ordinary profiling (and distables non-statistical
profiling) if non-statistical profiling is configured.
1995-12-29 15:30:05 +00:00
bde
ff6f507f6b Fixed erroneous resending of the output buffer.
Fixed panics for events on nonexistent ports.

Fixed devconf class initialization and devconf state tracking.

Submitted by:	Serge A. Babkin <babkin@hq.icb.chel.su>
1995-12-29 13:21:10 +00:00
bde
a82695f60f Oops, this should have been committed with the other Hayes ESP changes. 1995-12-29 13:18:58 +00:00
bde
a1ea079977 Added support for the Hayes ESP serial card.
Submitted by:	Sean Eric Fagan (sef@kithrup.com)
Based on code by John Vinopal (banshee@resort.com)
Cosmetic (I hope) changes by me (bde).
1995-12-29 12:51:32 +00:00
joerg
33a7b7910e >Number: 917
>Category:       bin
>Synopsis:       -s option in jot is broken
1995-12-29 12:18:46 +00:00
gpalmer
0c3911acb2 Oops. I seem to have over-corrected with my last commit. It should be
right this time
1995-12-29 08:23:59 +00:00
markm
79b9c69957 1) ifdef out some unused functions (for now)
2) improve 586 support
3) add 686 support
4) clean up comments etc
Submitted by:	bde
1995-12-29 08:04:32 +00:00
jkh
38f0506d5b Whoops! ftp6.de.freebsd.org doesn't exist. 1995-12-29 07:11:38 +00:00
jkh
89e47b7086 Go to orthogonal naming scheme for those hosts that support it.
Remove some information in the process, but I'm trying to make this
as transparent as possible so that regions can move site names around
as ftp servers are created or go offline.
1995-12-29 06:58:32 +00:00
joerg
19ed987b14 Hide the German mirrors behind de.freebsd.org. 1995-12-29 04:49:09 +00:00
jkh
254869b3f4 Make a couple of options that hurt when they're removed more
carefully noted.
1995-12-29 02:04:20 +00:00
bde
698def8435 Don't look in libkern, it went away. 1995-12-29 01:51:23 +00:00
peter
43ec315767 A couple more updates to the man page..
1: the eisa code has not been updated to the 'new style' code yet
2: recieve buffer flushing is now implemented.
1995-12-29 01:39:06 +00:00
jkh
83515521cf Correct date in the history document.
Noticed by:	davidg
1995-12-29 01:27:38 +00:00