bde
566ee5c323
Fixed pedantic semantics errors (bitfields not of type int, signed int
...
or unsigned int (this doesn't change the struct layout, size or
alignment in any of the files changed in this commit, at least for
gcc on i386's. Using bitfields of type u_char may affect size and
alignment but not packing)).
1998-06-08 09:47:47 +00:00
dfr
faa17713f8
Fix more of my DDB breakage.
1998-06-08 09:23:24 +00:00
dfr
707faaecf6
Fix a typo which prevented i386 elf from working at all (including Linux
...
emulated elf binaries).
1998-06-08 09:19:35 +00:00
sos
fe1d05742f
Correct even more ioctl breakage :(
...
Doesn't people check their code before committing anymore, it could
at least compile ????
1998-06-08 09:00:28 +00:00
kato
2c9e07b212
Sync with sys/i386/isa/clock.c revision 1.123.
1998-06-08 08:56:43 +00:00
kato
83707e06e7
Merge 64bit portability fixes from sys/i386 stuff.
1998-06-08 08:55:47 +00:00
bde
1fcff6c692
Fixed pedantic semantics errors (bitfields not of type int, signed int
...
or unsigned int (don't do this in one case where it would change the
object file)).
1998-06-08 08:50:43 +00:00
dfr
a7c0d1c5c9
Make DDB work again after I broke it :-(.
1998-06-08 08:43:20 +00:00
charnier
12c0eabbe1
Add rcsid, remove unused #includes. Use err(3).
1998-06-08 06:44:05 +00:00
jkoshy
350780df49
Fix spelling in printf().
1998-06-08 06:42:34 +00:00
charnier
3aaa3dc793
Use warnx()+fprintf() to handle multi-line messages. Correct K&R support and
...
KNF continuation indent rule.
Requested by: Bruce.
1998-06-08 06:41:47 +00:00
bde
3ee711b2cb
Updated yet another ioctl, and put wst in LINT to inhibit further bitrot.
1998-06-08 06:18:53 +00:00
jkoshy
75e70dcdb0
Spelling fixes.
...
Submitted by: Josh Gilliam <josh@quick.net>
PR: 6880
1998-06-08 06:12:02 +00:00
bde
0801d7c827
ip_fil.h has 9 separate declarations of iplioctl() in a disgusting
...
ifdef tangle. The previous commit to ip_fil.h didn't change the
one that actually applies to the current FreeBSD kernel, of course.
Fixed.
Fixed style bugs in previous commit to ip_fil.h.
1998-06-08 06:04:12 +00:00
jkoshy
8cfd64279d
Reword to remove confusion between su(1)'s "-c" option and that of the shell
...
being invoked. Add example that clarifies usage of "-c".
PR: 6859
1998-06-08 05:29:51 +00:00
dyson
a11c41dcfc
Disable attempted write combining support. This probably
...
causes more trouble than help (for now.)
1998-06-08 04:07:51 +00:00
bde
a396b761ea
Fixed an ioctl which grew overnight.
1998-06-08 02:43:12 +00:00
bde
2f5fcc4998
Backed out previous commit, which just consisted of a 1-byte editing
...
error.
1998-06-08 02:15:37 +00:00
bde
9ac818096c
Fixed missing ifdefs and disordering in previous commit.
1998-06-08 02:12:19 +00:00
bde
128c893269
Fixed ifdef bogotification in previous commit.
1998-06-08 02:11:19 +00:00
danny
963f0a7720
Fix typo: exit -> exist
1998-06-08 02:00:45 +00:00
jdp
05f60feca3
Speed up the cleaning of CHROOTDIR by almost a factor of two, by
...
replacing two monstrous file tree walks with one monstrous tree walk
and two miniscule ones.
1998-06-07 21:53:01 +00:00
phk
8c3dc868d3
Add a member function more to the timecounters, this one is for use
...
with latch based PPS implementations. The client that uses it will
be committed after more testing.
1998-06-07 20:36:55 +00:00
dfr
8ccd49e34b
Fix another DEVFS/SLICE ioctl.
1998-06-07 20:10:53 +00:00
phk
a3d971d99d
This is a prototype implementation of the draft-mogul-pps-api-##.txt
...
paper.
It will be updated along with the draft and possible subsequent
standard.
The ppbus based pps driver is updated to implement this API.
1998-06-07 19:44:22 +00:00
dfr
7926e3cc5b
Fix some more ioctls which I missed becausese they were hidden by options
...
which were not in LINT.
1998-06-07 19:40:41 +00:00
sos
e54858d021
Fix the retyping of the ioctl cmd parm from int to u_long.
1998-06-07 18:44:03 +00:00
wosch
d0c6f6771a
Always ask for homedir.
...
PR: 6754
Submitted by: uhlar@netlab.sk
1998-06-07 18:38:32 +00:00
dfr
1d5f38ac22
This commit fixes various 64bit portability problems required for
...
FreeBSD/alpha. The most significant item is to change the command
argument to ioctl functions from int to u_long. This change brings us
inline with various other BSD versions. Driver writers may like to
use (__FreeBSD_version == 300003) to detect this change.
The prototype FreeBSD/alpha machdep will follow in a couple of days
time.
1998-06-07 17:13:14 +00:00
brian
83423d0e5a
Fix previous commit. bit 1 is the execute bit, not the read bit *blush*
...
ie, BINMODE=4551 -> BINMODE=4554
Pointed out by: Bruce Evans <bde@zeta.org.au>
1998-06-07 17:08:42 +00:00
thepish
22eb78890f
PR: docs/3636
...
Submitted by: Gary Palmer gpalmer@FreeBSD.ORG
Add mention of the 1024-character line length limit on the netgroup database.
1998-06-07 15:08:50 +00:00
phk
e56e77d552
Sigh, all good words are reserved words these days...
...
s/private/priv/
Noticed by: sos
1998-06-07 14:14:39 +00:00
bde
f9eeff8a6c
Added a used include (in ifdefed code).
1998-06-07 12:02:59 +00:00
bde
5b773a9c2c
Fixed pedantic semantics errors (bitfields not of type int, signed int
...
or unsigned int).
1998-06-07 12:00:13 +00:00
bde
50b73bbeae
Fixed pedantic syntax errors caused by a trailing semicolon in a macro
...
definition.
1998-06-07 11:52:17 +00:00
bde
b8ca4196f1
Null change. Forgot to mention in previous log message that MNT_NOATIME
...
is now ignored for special files, so that mounting root with option
noatime doesn't break reporting of idle times in programs like `w'.
The problem of execessive disk updates just to stamp atimes will be
handled for special files by only writing atimes to disk when inodes
become active. This works well because special files are relatively
uncommon and their atimes are even more disposable at panic time than
regular files' atimes.
1998-06-07 11:04:26 +00:00
sos
c19c19de29
Compile mtree before it is used, this is a hack, but make world has
...
failed since new functionality was introduced in mtree.
1998-06-07 10:50:28 +00:00
bde
0af8745beb
Fixed some longstanding timestamp bugs:
...
1. mark atimes and mtimes of special files and fifos for update upon
successful completion of non-null i/o, not at the beginning of the
syscall.
2. never update file times for readonly filesystems. They were updated
for stats and closes but not for syncs. The updates were of course
only in-core and were thrown away when the inode was uncached, so
the times sometimes appeared to go backwards.
Improved comments in code related to (1) (mostly by removing them).
Unmacroized ITIMES(). The test in (2) bloated it even more. Don't
call getmicrotime() in the function version of it when we only need
the time in seconds.
1998-06-07 10:49:18 +00:00
kato
a34566b534
Sync with sys/i386/isa/clock.c revision 1.122.
1998-06-07 09:51:08 +00:00
phk
19aada2084
Add a "this" style argument and a "void *private" so timecounters can
...
figure out which instance to wount with.
1998-06-07 08:40:53 +00:00
brian
2113d2ba5a
Use a relative libalias.so name (hardcoded at 2.5 - yeuch!).
1998-06-07 03:54:41 +00:00
brian
e484ff1d7f
Search for libraries in dlopen() when the specified path
...
contains no ``/''s.
Elf already searches it seems.
Mostly submitted by: Mike Smith <mike@smith.net.au>
1998-06-07 03:53:08 +00:00
brian
9788b86904
Make ppp world-readable so that root can get at it over
...
NFS when nobody isn't in group network :-)
Pointed out by: Bruce Evans <bde@zeta.org.au>
1998-06-07 00:16:57 +00:00
brian
047f4ff890
Update the write descriptor selection set for our data links
...
*after* shuffling fragments from the IP queue into the
individual link queues.
This fixes a latency problem pointed out by: Bruce Evans <bde@zeta.org.au>
1998-06-07 00:16:37 +00:00
jb
e886c0d520
Fix an alignment problem on alpha by doing a bytewise copy.
1998-06-06 23:33:28 +00:00
brian
f9217c4bf1
Make ``set ? log'' more verbose.
...
Suggested by: Paul Dufresne <dufrp@oricom.ca>
1998-06-06 23:00:33 +00:00
brian
e56ba1efb9
Don't call PunchFWHole() ifdef NO_FW_PUNCH
...
Pointed out by: "Steve Sims" <SimsS@IBM.Net>
1998-06-06 21:52:37 +00:00
julian
4f3d4b5dd9
Make sure the default value of a dummy variable is 0
...
so that it doesn't do anything.
1998-06-06 21:49:17 +00:00
brian
88b436b903
Put the correct pid in /var/run/tunX.pid
...
Suggested by: many
1998-06-06 20:50:57 +00:00
julian
30cc111a0f
Fix wrong data type for a pointer.
1998-06-06 20:45:28 +00:00