summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* If building and installing libdescrypt, do it first so that the symlinkspeter1998-05-271-3/+4
| | | | | | | | point to it rather than libscrypt. This was how it was done prior to libscrypt being added in. This should stop more people getting burnt with the /usr/lib -> /usr/lib/aout transition, and the same when the ELF libs come online.
* If we are logging into a cvs pserver with the username of "anoncvs",peter1998-05-271-0/+10
| | | | | | | | | and we have not done an explicit 'cvs login', then use a default password of "anoncvs". This allows things like: setenv CVSROOT :pserver:anoncvs@anoncvs.freebsd.org:/cvs cvs checkout src (without doing the normal 'cvs login' for pserver mode) but this runs over the :pserver: protocol rather than the more troublesome rsh. Naturally, the server had better be running in -R (readonly) mode :-)
* On the other hand, when /usr/bin/as is really a link to objformat, it's notpeter1998-05-271-3/+4
| | | | | | helpful to stop it running /usr/libexec/aout/as for real while bootstrapping. Only force a strict path when we really have built all the tools in $OBJDIR/tmp/usr/libexec/*.
* Make cvs really ignore a pserver password when the passwd field of thepeter1998-05-271-3/+4
| | | | | | CVSROOT/passwd file is empty. A 'cvs login' still seems to be required since the cvs client doesn't seem to believe it's possible to not need a password (yet :-). This is intended for cheap anoncvs use.
* It would help if it compiled. *blush*peter1998-05-271-1/+1
|
* Convert to more canonical format.. It seems that both Soren and I werepeter1998-05-271-8/+8
| | | | working on this in parallel.. :-(
* Move objformat after binutils, otherwise we get chicken/egg problems whenpeter1998-05-271-3/+3
| | | | | building ELF. It may be that binutils and objformat need to both be moved earlier in the list though, but that can wait till the dust settles.
* Add a new long flag that causes cvs to ignore the CVSROOT/passwd file.peter1998-05-273-5/+17
| | | | | | | | | This is mostly intended for use on freefall where we'd like to provide a passwd file for easy anoncvs mirroring access, but don't want to open up the pserver on freefall itself. While here, some initial tweaks intended for allowing an empty pserver password. I'm not sure that this works yet.
* Remove my hacks for capturing stdout/stderr through the protocol channelpeter1998-05-271-106/+2
| | | | | | | | | | | | | | | | while calling libdiff. It's too ugly and not worth the recursion problems when there is a malloc failure (which writes to stderr - now diverted via the buf system, which calls malloc, which causes another error message etc). We can live with the standard artificial slowdown, but reduce the time a bit and only delay when we really need to (ie: when running as a server). The usleep time could probably use some tuning, it basically needs to replace the time that it used to take to fork a large process, exec gnudiff and the time that gnudiff took before writing the initial output. This eliminates a whole mess of other hacks I was considering that changed use of xmalloc to alloca() etc. It was going too fast in the wrong direction.
* Typo police. '#ifndef lint' around CVS id. Don't use __progname in usage().des1998-05-272-15/+12
| | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
* Install ${DESTDIR}/boot.help during `make distribution'.jkoshy1998-05-272-2/+7
| | | | | PR: 6063 Submitted by: Doug <Studded@dal.net>
* Correct manual page, based on feedback from Bruce Evans.jkoshy1998-05-271-31/+33
| | | | Reviewed by: Bruce Evans <bde@freebsd.org>
* Fix some bitrot in the multicast support, the move from TAILQ macros wasn't ↵paul1998-05-272-4/+4
| | | | implemented fully.
* This time add an Id string that'll actually get expanded :-)paul1998-05-272-2/+2
|
* Add an ID string (can't believe it never had one!)paul1998-05-272-0/+2
|
* "make world" replaces /bin/rmail even when NO_SENDMAIL has been set tophk1998-05-271-2/+6
| | | | | | | | | true in /etc/make.conf. Both qmail and smail use a different rmail, so replacing rmail is a Bad Thing. PR: 6762 Reviewed by: phk Submitted by: Bill Trost <trost@cloud.rain.com>
* Install in /usr/lib/aoutsos1998-05-271-2/+2
|
* Compile & use objformat as it was intended to, I have no idea whysos1998-05-273-19/+13
| | | | that failed for me before :(
* Don't use absolute path.jkh1998-05-271-1/+1
| | | | Submitted by: jhay
* A fix to a debug test from Kirk.julian1998-05-273-3/+12
|
* accidently omitted two file declarations.jmb1998-05-271-1/+2
| | | | | | so i added them. Submitted by: Scot Elliott (scot@poptart.org)
* Make a copy of the caller's iovec array, mallocing if necessary,jb1998-05-273-42/+186
| | | | | and modify that if the writev() syscall does not completely write all bytes in a single call.
* Remove error check from call to set the file descriptor to non-blockingjb1998-05-271-12/+9
| | | | | instead of explicitly ignoring some errors. This allows for the case where a device is naturally non-blocking.
* Ignore 'invalid' interrupts that occur while the interface is down.wpaul1998-05-261-2/+12
| | | | | | | | These are probably generated by other PCI devices sharing the TLAN's interrupt. The programmer's guide says to simply re-enable interrupts and return if one of these is detected. Prompted by bug report from: Bill Fenner
* ELF preparation step 2:sos1998-05-2616-88/+107
| | | | | | | | | | | | | | Move a.out libraries to /usr/lib/aout to make space for ELF libs. Make rtld usr /usr/lib/aout as default library path. Make ldconfig reject /usr/lib as an a.out library path. Fix various Makefiles for LIBDIR!=/usr/lib breakage. This will after a make world & reboot give a system that no longer uses /usr/lib/*, infact one could remove all the old libraries there, they are not used anymore. We are getting close to an ELF make world, but I'll let this all settle for a week or two...
* Get owner/group/modes rightsos1998-05-261-9/+11
|
* Fixed logic in the test to drop ICMP echo and timestamp packets whendg1998-05-261-5/+3
| | | | | | | | | net.inet.ip.icmp.bmcastecho = 0 by removing the extra check for the address being a multicast address. The test now relies on the link layer flags that indicate it was received via multicast. The previous logic was broken and replied to ICMP echo/timestamp broadcasts even when the sysctl option disallowed them. Reviewed by: wollman
* Oops, remember CFLAGS...sos1998-05-261-8/+6
| | | | Also compile directly to the target on install.
* PR: 1904danny1998-05-261-1/+6
| | | | Abort if given uname is > MAXLOGNAME-1
* Remove a couple style bugs from the code snippet thatsteve1998-05-261-3/+3
| | | | | | slipped in on the previous commit. Submitted by: bde
* code was using wrong temporary variable "i", in place of "j".jmb1998-05-261-2/+2
| | | | | | | | | | | i contains the contents of the EP_W0_CONFIG_CTRL register. i was being used as the array index into an array on the stack. j is initialized to 0 as it should be. PR: kern/6757 Reviewed by: jmb Submitted by: Stephane E. Potvin <sepotvin@videotron.ca>
* "EOF of file..." is written to stderr and not stdout.steve1998-05-261-2/+2
| | | | PR: 6756
* Don't append a '/' to the destination directory if theresteve1998-05-251-3/+5
| | | | | | is already one there. PR: 3025
* When doing a blocking write, keep looping until all the bytes arejb1998-05-256-60/+318
| | | | | | | written without returning to the caller. This only occurs on pipes where either the number of bytes written is greater than the pipe buffer or if there is insufficient space in the pipe buffer because the reader is reading slower than the writer is writing.
* Update code example to reflect current practice.steve1998-05-251-12/+10
|
* Use select() timeouts instead of SIGALRM to schedule packet transmission.fenner1998-05-251-81/+104
| | | | | | | | | | Fixes bin/6649 and removes the last abusive signal handler. Use SO_TIMESTAMP to get the kernel to timestamp packets on reception. Fixes bin/5658 and provides slightly better accuracy. Explicitly zero and terminate the IP options when using -R. PR: bin/5658 PR: bin/6649
* Norwegian dates should have a dot after day of month.steve1998-05-253-9/+9
| | | | | PR: 6749 Submitted by: Hans Petter Bieker <zerium@webindex.no>
* ELF preparation step 1:sos1998-05-2511-15/+22
| | | | | | | | | | | | | | | Move our old a.out utils to /usr/libexec/aout. Enable binutils and put the utils in /usr/libexec/elf Enable objformat, a little helper program that calls the right utils based on /etc/objformat and $OBJFORMAT. This will enable the ELF generating tools. Remember that this is only step one, the system is still compiled and run in a.out format ONLY. Problem left to solve: The BSD manpages wins over the GNU equivalents as the are installed last. We need to distinguish between the manpages somehow...
* Only compile on install.sos1998-05-251-0/+3
|
* Make objformat DTRT when in the make world environment.sos1998-05-252-4/+14
|
* Back out Steve's fix, as this was already fixed by me in revision 1.6des1998-05-251-4/+0
|
* Add optional code to change the way that divert and ipfw work together.julian1998-05-256-8/+126
| | | | | | | | | | | | | | | | | | | | | | | Prior to this change, Accidental recursion protection was done by the diverted daemon feeding back the divert port number it got the packet on, as the port number on a sendto(). IPFW knew not to redivert a packet to this port (again). Processing of the ruleset started at the beginning again, skipping that divert port. The new semantic (which is how we should have done it the first time) is that the port number in the sendto() is the rule number AFTER which processing should restart, and on a recvfrom(), the port number is the rule number which caused the diversion. This is much more flexible, and also more intuitive. If the user uses the same sockaddr received when resending, processing resumes at the rule number following that that caused the diversion. The user can however select to resume rule processing at any rule. (0 is restart at the beginning) To enable the new code use option IPFW_DIVERT_RESTART This should become the default as soon as people have looked at it a bit
* o Only do the /bin/cat bit when we're transferring our ctty.brian1998-05-252-5/+5
|
* Fixed missing semicolon and added space before semicolon.kato1998-05-252-6/+6
| | | | Noticed by: Toshikazu Kaho <kaho@elam.kais.kyoto-u.ac.jp>
* Manual page fix: add cross references, refer to ``dumpdev'' variable injkoshy1998-05-251-9/+33
| | | | | | | "/etc/rc.conf". PR: 6117 Submitted by: Mark Mayo <mark@vmunix.com>
* Hide the interface name in the sin_zero section of the sockaddr_injulian1998-05-252-11/+61
| | | | | | | | | | | passed to the user process for incoming packets. When the sockaddr_in is passed back to the divert socket later, use thi sas the primary interface lookup and only revert to the IP address when the name fails. This solves a long standing bug with divert sockets: When two interfaces had the same address (P2P for example) the interface "assigned" to the reinjected packet was sometimes incorect. Probably we should define a "sockaddr_div" to officially hold this extended information in teh same manner as sockaddr_dl.
* Take the user's "IGNORE_DIVERT" argument from where the user put itjulian1998-05-251-5/+7
| | | | | and not from the PCB which HAPPENS to contain the same number most of the time, but not always.
* Only allow 'who' and 'who am i' as valid usages.steve1998-05-251-1/+5
| | | | | PR: 6294 Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
* Fix example in manual page.jkoshy1998-05-251-4/+4
| | | | | PR: 5443 Submitted by: AMAGAI Yoshiji <amagai@nue.org>
* Revert the previous fix. As it turns out Warner Losh issteve1998-05-251-21/+9
| | | | working a better fix.
OpenPOWER on IntegriCloud