summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* Correct usages of getuid() and geteuid()brian1999-12-306-7/+7
| | | | Pointed out by: billf
* Mention that it's only necessary to escape the '-' in chat scriptsbrian1999-12-293-2/+4
| | | | | | | twice (once for the arg parsing and once to make it a normal character). Make the man page example consistent. Reminded by: Bryan Liesner <bleez@netaxs.com>
* Since /etc/sendmail.cf got moved to /etc/mail/sendmail.cf, a 'make world'peter1999-12-291-0/+8
| | | | | | would leave you with a broken sendmail and local mail loss. This evil hack moves sendmail.cf from the old location to the new one (if required) at install time.
* Preempt one brucification - I was missing a ${DESTDIR}. I hate mergingpeter1999-12-291-1/+1
| | | | two sets of changes from different trees.
* Add mailwrapper. It redirects to sendmail by default, but you canpeter1999-12-291-0/+1
| | | | | point /usr/sbin/sendmail to any mailer of your choice with the /etc/mail/mailer.conf config file.
* Install sendmail in it's new location.peter1999-12-291-4/+2
|
* As a special case, deal with a missing mailer.conf at install time. Ipeter1999-12-291-1/+6
| | | | | don't particularly like doing this here, but the alternative (loosing mail) is worse.
* Move mailer.conf to /etc/mail at obrien's request.peter1999-12-291-2/+1
|
* Make mailwrapper buildpeter1999-12-294-9/+49
|
* Use LC_TIME=C for dateache1999-12-291-1/+1
|
* Sorry, ndp command is not exist yet.shin1999-12-291-1/+0
| | | | Specified by: Anders Andersson <anders@sanyusan.se>
* Forgot to add newly added udp and raw IPv6 apps to usr.sbin SUBDIR.shin1999-12-291-0/+8
| | | | They are confirmed to be buildable and seems to be working.
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-293-4/+6
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* Only print "couldn't install distributions" popup if anyjkh1999-12-291-3/+5
| | | | | actual distributions were found to go along with the residual mask value.
* Small bug fix and improvementsshin1999-12-281-1/+5
| | | | | | | | (1)added error check of if_nameindex() return value at getaddrinfo(). (2)print out more detailed information when getaddrinfo() error value is EAI_SYSTEM.(in this case system error num is kept in errno) (1) is Discovered by: jinmei@kame.net in KAME environment.
* Getaddrinfo(), getnameinfo(), and etc support in libc/net.shin1999-12-2829-0/+9055
| | | | | | | Several udp and raw apps IPv6 support. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* This commit adds device driver support for the ADMtek AN986 Pegasuswpaul1999-12-282-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | USB ethernet chip. Adapters that use this chip include the LinkSys USB100TX. There are a few others, but I'm not certain of their availability in the U.S. I used an ADMtek eval board for development. Note that while the ADMtek chip is a 100Mbps device, you can't really get 100Mbps speeds over USB. Regardless, this driver uses miibus to allow speed and duplex mode selection as well as autonegotiation. Building and kldloading the driver as a module is also supported. Note that in order to make this driver work, I had to make what some may consider an ugly hack to sys/dev/usb/usbdi.c. The usbd_transfer() function will use tsleep() for synchronous transfers that don't complete right away. This is a problem since there are times when we need to do sync transfers from an interrupt context (i.e. when reading registers from the MAC via the control endpoint), where tsleep() us a no-no. My hack allows the driver to have the code poll for transfer completion subject to the xfer->timeout timeout rather that calling tsleep(). This hack is controlled by a quirk entry and is only enabled for the ADMtek device. Now, I'm sure there are a few of you out there ready to jump on me and suggest some other approach that doesn't involve a busy wait. The only solution that might work is to handle the interrupts in a kernel thread, where you may have something resembling a process context that makes it okay to tsleep(). This is lovely, except we don't have any mechanism like that now, and I'm not about to implement such a thing myself since it's beyond the scope of driver development. (Translation: I'll be damned if I know how to do it.) If FreeBSD ever aquires such a mechanism, I'll be glad to revisit the driver to take advantage of it. In the meantime, I settled for what I perceived to be the solution that involved the least amount of code changes. In general, the hit is pretty light. Also note that my only USB test box has a UHCI controller: I haven't I don't have a machine with an OHCI controller available. Highlights: - Updated usb_quirks.* to add UQ_NO_TSLEEP quirk for ADMtek part. - Updated usbdevs and regenerated generated files - Updated HARDWARE.TXT and RELNOTES.TXT files - Updated sysinstall/device.c and userconfig.c - Updated kernel configs -- device aue0 is commented out by default - Updated /sys/conf/files - Added new kld module directory
* Add a bunch of `const's and fix a typo.brian1999-12-2716-26/+30
| | | | Submitted by: Rich Neswold <rneswold@MCS.Net>
* Don't allowt '#' as a comment when it's embedded in quotes:brian1999-12-277-33/+34
| | | | | | | | set something "xxx yyy # zzz" aaa shouldn't be interpreted as set something "xxx yyy" aaa
* kvm_mkdb(8) no longer exists (in .Xr) and kvm_nlist(8) has even less to dopeter1999-12-271-3/+1
| | | | with dev_mkdb(8) than it did before.
* Zap kvm_mkdb, it was for kvm_nlist's benefit, but now it goes directpeter1999-12-277-730/+0
| | | | to the in-kernel hashed symbol tables (including modules).
* Don't bother fork()ing after closing a ctty if ppp is about tobrian1999-12-231-0/+10
| | | | terminate anyway.
* Understand double-quotes anywhere on a command line in the samebrian1999-12-233-18/+14
| | | | | way that a shell does. The previous way ppp did it just didn't make any sense.
* Correct warning about unindented commands when the unindented commandbrian1999-12-231-27/+34
| | | | is actually a new label with a comment at the end of the line.
* configSamba is gone, and is not coming back.dcs1999-12-231-1/+0
|
* Don't munge ``set dial|login|logout|hangup'' arguments beforebrian1999-12-227-17/+20
| | | | ExpandString() has a chance to do its own substitutions.
* IPSEC support in the kernel.shin1999-12-221-1/+0
| | | | | | | | pr_input() routines prototype is also changed to support IPSEC and IPV6 chained protocol headers. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* Bye bye xntpd.roberto1999-12-22360-93367/+0
|
* Don't compile mktime, it is already present elsewhere.roberto1999-12-221-1/+1
| | | | Submitted by: bde
* Fix the brain-o which prevented the Custom installation item fromjkh1999-12-222-2/+2
| | | | | | working. It was, as I predicted, a stupid bug and thanks to the submitter for spotting it. I'll also re-roll some 3.4-RELEASE install floppies for this.
* Fix minor typo.archie1999-12-221-1/+1
|
* Properly manify this manpage.asmodai1999-12-211-2/+1
|
* Manual page style work.julian1999-12-212-21/+37
| | | | | Submitted by: Alexey Zelkin <phantom@FreeBSD.org> thanks!
* Fix my '#'-at-end-of-lines change, spammed by a subsequent commit.brian1999-12-201-3/+10
|
* Use getpwuid()->pw_dir instead of $HOME when expanding ``~''.brian1999-12-201-10/+6
|
* Use getpwuid() instead of getlogin() in ``allow users''.brian1999-12-201-4/+5
|
* Add missing linefeed.brian1999-12-201-1/+1
|
* Cosmetic: clean up some parenthesis confusionbrian1999-12-201-10/+5
|
* Handle comments at the end of lines.brian1999-12-203-25/+44
|
* Notice and warn about unterminated quoted strings in commands.brian1999-12-2013-44/+100
| | | | The entire command is ignored if the syntax is invalid...
* Implement mbuf allocation internally by maintaining 8 buckets ofbrian1999-12-205-21/+82
| | | | | | | different sized mbufs, and mallocing them in chunks of 20 mbufs at a time. This improves back-to-back throughput by between 7 and 8%
* Cosmetic: Make struct mbuf more like kernel mbufs.brian1999-12-2030-519/+527
|
* configApache does not exist anymore.dcs1999-12-201-1/+0
| | | | | PR: 9582 Submitted by: Stephan Lagerholm <istephan@unilog.se>
* Now that we have an elf(5) we can x-ref it here.billf1999-12-201-0/+1
|
* Whoops, this function is supposed to return a boolean status, notjkh1999-12-201-1/+1
| | | | flags.
* Do better things with router configuration (use proper display variable,jkh1999-12-194-4/+14
| | | | for one thing - it's router_enable to check, not router).
* Whoops, I broke the doc browser (not that anyone would notice since nobodyjkh1999-12-191-4/+4
| | | | READS the docs, but anyway.. :). Fix it.
* D'oh! Inserted a clear() in a *very* wrong place with my last commit.jkh1999-12-191-1/+0
|
* Bah, I got the MFC and this commit backwards. :)jkh1999-12-194-5/+2
|
* This commit was generated by cvs2svn to compensate for changes in r54816,peter1999-12-193-0/+322
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
OpenPOWER on IntegriCloud