summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* If stat() on the terminal specified in utmp fails due to ENOENT, don'trwatson2003-04-023-2/+21
| | | | | | | | | print a warning, and set the idletime variable for the entry to -1; then pick up the -1 later in sprint() and lprint() and ignore those idle times by printing just whitespace. When third party applications, such as kdm, insert utmp entries, they sometimes use strings like ":0", which can't be stat()'d and currently result in warnings that are not helpful to the user.
* Back out support for RFC3514.mdodd2003-04-021-1/+0
| | | | RFC3514 poses an unacceptale risk to compliant systems.
* Mark bits that do not require an object directory as such.ru2003-04-011-1/+1
|
* Implement support for RFC 3514 (The Security Flag in the IPv4 Header).mdodd2003-04-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (See: ftp://ftp.rfc-editor.org/in-notes/rfc3514.txt) This fulfills the host requirements for userland support by way of the setsockopt() IP_EVIL_INTENT message. There are three sysctl tunables provided to govern system behavior. net.inet.ip.rfc3514: Enables support for rfc3514. As this is an Informational RFC and support is not yet widespread this option is disabled by default. net.inet.ip.hear_no_evil If set the host will discard all received evil packets. net.inet.ip.speak_no_evil If set the host will discard all transmitted evil packets. The IP statistics counter 'ips_evil' (available via 'netstat') provides information on the number of 'evil' packets recieved. For reference, the '-E' option to 'ping' has been provided to demonstrate and test the implementation.
* -{h,k} are mutually exclisive. So only pay attention to the last of theobrien2003-03-301-2/+2
| | | | two when both are given.
* Back out the totally unapproved backout of my commits.obrien2003-03-292-2/+1
|
* xargs(1) is WARNS=6 clean.mux2003-03-281-1/+1
| | | | Tested on: i386, sparc64
* When -o isn't specified, open /dev/null as stdin.mux2003-03-281-2/+5
| | | | Suggested by: jhb
* Put child process in a different process group, ensure that the broadcastdavidxu2003-03-271-6/+22
| | | | | | | | signal never affects su directly, some shells changes its pgrp at running or suspended time, so a broadcast SIGTSTP from child will mess up su's job control. Discussed with: bde
* Explain the format of the at.allow and at.deny files in detail.keramida2003-03-261-0/+5
| | | | | PR: 35942 Submitted by: Gary W. Swearingen <swear@blarg.net>
* Document the undcumnt -l option (that's a lowercase `el').keramida2003-03-261-3/+10
| | | | | PR: 48466 Submitted by: Peter Philipp <dot.bomb@freenet.de>
* Add support for identifying NORID (norwegian top level registry) handles.eivind2003-03-251-0/+7
| | | | Reviewed by: mike (with slight changes based on feedback afterwards)
* fix reverse logic in "connect" command that cause port specifications to be ↵jon2003-03-251-2/+2
| | | | | | ignored. MFC after: 1 week
* The ... utilitycharnier2003-03-241-2/+3
|
* The descriptions of the -C and -M options were around the wrong way;tjr2003-03-241-10/+10
| | | | | | | fix this. PR: 49968 MFC after: 2 weeks
* Add -M, -Q, -S, and -T to the usage message.tjr2003-03-241-1/+1
|
* Add a new -o option to tell xargs(1) to reopen /dev/tty as stdin inmux2003-03-232-5/+21
| | | | | | | | | | | | the child process, before executing the command. This is very useful when you do stuff like ``find ... | xargs interactive_application''. Without -o, the application would inherit the pipe as its stdin, and you thus lose any control over it. This flag has been carefully chosen to not conflit with other options of other xargs utilities like GNU xargs. Reviewed by: jmallett
* Add birthdays of NetBSD and FreeBSD projects. For the former, takegrog2003-03-191-0/+2
| | | | | | the general opinion of the NetBSD community, 21 March 1993. For the latter, take David Greenman's first mention of the project name, 19 Jun 1993.
* Fix English usage: "for security purpose" -> "for security reasons".fanf2003-03-181-1/+1
|
* The POSIXly-correct /dev/stdout handling added in rev 1.44 makesfanf2003-03-181-1/+1
| | | | | | | | | | careless users vulnerable to terminal control sequence attacks, since they expect uudecode to just drop (or overwrite) a file in the current directory. POSIX also says that the full pathname from the input should be used when writing a file, which we only do if the -s (shoot me in the foot) option is specified; therefore this revision means that you now need to use -s for standard /dev/stdout handling.
* For the bwk_20030314 version, we have to -DHAS_ISBLANK now.obrien2003-03-171-1/+1
| | | | Oh how I wish the author had accepted my "#ifndef isblank" patch instead.
* Run a revision of the devstat interface:phk2003-03-153-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kernel: Change statistics to use the *uptime() timescale (ie: relative to boottime) rather than the UTC aligned timescale. This makes the device statistics code oblivious to clock steps. Change timestamps to bintime format, they are cheaper. Remove the "busy_count", and replace it with two counter fields: "start_count" and "end_count", which are updated in the down and up paths respectively. This removes the locking constraint on devstat. Add a timestamp argument to devstat_start_transaction(), this will normally be a timestamp set by the *_bio() function in bp->bio_t0. Use this field to calculate duration of I/O operations. Add two timestamp arguments to devstat_end_transaction(), one is the current time, a NULL pointer means "take timestamp yourself", the other is the timestamp of when this transaction started (see above). Change calculation of busy_time to operate on "the salami principle": Only when we are idle, which we can determine by the start+end counts being identical, do we update the "busy_from" field in the down path. In the up path we accumulate the timeslice in busy_time and update busy_from. Change the byte_* and num_* fields into two arrays: bytes[] and operations[]. Userland: Change the misleading "busy_time" name to be called "snap_time" and make the time long double since that is what most users need anyway, fill it using clock_gettime(CLOCK_MONOTONIC) to put it on the same timescale as the kernel fields. Change devstat_compute_etime() to operate on struct bintime. Remove the version 2 legacy interface: the change to bintime makes compatibility far too expensive. Fix a bug in systat's "vm" page where boot relative busy times would be bogus. Bump __FreeBSD_version to 500107 Review & Collaboration by: ken
* Update to use current rev of devstat API.phk2003-03-151-9/+9
|
* Add an -o filename option to have the output written to a file.marcel2003-03-152-6/+22
| | | | | | | This option is present on most uuidgen(1) implementations even though normal file redirection can be used to achieve the same. Submitted by: Hiten Pandya <hiten@unixdaemons.com>
* Add death of Gaius Julius Caesar, clarify role of Brutus.grog2003-03-151-0/+2
|
* Remove the death of Gaius Julius. It's not exactly a birthday.grog2003-03-151-1/+0
|
* - For variables holding offset values, use off_t rather thanrobert2003-03-137-41/+57
| | | | | | | | | | | | | | | | int, long int or u_int32_t. This changes the interface of all the CRC calculation and output functions from cksum. - Print variables of type off_t as intmax_t using a cast and %jd. - Use the standardized uint32_t type instead of u_int32_t. To have uint32_t defined, include <stdint.h> where necessary. Style(9): - Move #include directives where they belong (esp. crc32.c). - Add empty lines between #include directives of system headers, standard library headers and local headers. - Test a pointer value against NULL. - Put a space after the return keyword. PR: bin/48424
* Add a default case that just outputs a new line for the case of anjhb2003-03-131-0/+3
| | | | unknown header type.
* Teach kdump(8) to handle events marked with KTR_DROP. If a record hasjhb2003-03-131-0/+12
| | | | | | | | | | | | | | KTR_DROP set in its header, then we output an extra line to stdout to indicate that events were dropped between the previous record and this record. It is a bit trickier because we need to always notify the user if events are dropped even if KTR_DROP is set on a record of a type that we aren't interested in since kdump(8) doesn't know if the dropped events were of the types that the user has requested. To avoid outputting multiple events dropped notices in between actual event logs, a state variable is set whenever a drop is logged and cleared whenever an actual record is output. Requested by: phk
* Happy birthday to me :)glewis2003-03-121-0/+1
|
* Update for FILE v3.41.ru2003-03-122-9/+31
|
* Use floating point arithmetic to compute the ETA to avoid integer overflowdes2003-03-111-1/+1
| | | | during slow transfers of large files.
* Fix style bugs in the previous commit (which weren't in bde's patch)des2003-03-111-2/+0
|
* Reset SIGTSTP handler to default both for parent and child process.davidxu2003-03-111-3/+4
| | | | Submitted by: bde
* Clean up the ETA logic a bit and make sure it works for restarted transfers.des2003-03-111-7/+8
|
* Clarify that -r implies -R.des2003-03-111-0/+2
|
* Fix long standing job control bug. SIGTSTP shouldn't be ignored.davidxu2003-03-111-1/+0
| | | | | | Special instructions tested: suspend stop $$
* Add an embellished lesspipe.sh as described in the man page.obrien2003-03-062-0/+15
| | | | P.S. it is stupid I have to define both SCRIPTS and SCRIPTSNAME.
* Update Judaic calendar for this year.dwmalone2003-03-051-208/+206
| | | | | | PR: 48297 Submitted by: Josef Grosch <jgrosch@mooseriver.com> MFC after: 3 days
* Kill #ifdef NS and some leftover #ifdef ISO code. Re-pack the nlist[]peter2003-03-056-1397/+34
| | | | array, it isn't likely to find any ARPAnet IMP drivers in FreeBSD.
* Kill references to netns in comment about how it conflicted with netipx sopeter2003-03-051-2/+0
| | | | it was ignored all this time.
* Don't complain about an early end-of-file in the -r case rather thanfanf2003-03-041-1/+1
| | | | the opposite. Does this pointy hat look good on me?
* mdoc(7) police: Revision.ru2003-03-031-31/+25
|
* Forgot to update the date field; from David Magda <dmagda@magda.ca>.jmallett2003-03-011-1/+1
|
* Add functionality to only list hosts specified on the command line. If nonejmallett2003-03-012-67/+101
| | | | | | | | | | | | | are specified the old behaviour is old. The submitted applied a much cleaner diff to ruptime.c, however it did not cover cases like listing failures. It would probably be a good idea to move the printing from the ruptime function, and have that function just be used to build the list, as that would unbreak sorting, but this diff is intended to be clear, relative to the original code. As the sort order is the order specified on the command line, for now, such is documented in the manual page accordingly. Submitted by: Edward J. M. Blocklesby <ejb@lythe.org.uk> MFC after: 3 weeks
* The .Nm utility.keramida2003-02-281-4/+9
|
* Spellcheck.nectar2003-02-281-2/+2
|
* Update for version 3.41.obrien2003-02-281-3/+6
|
* Document the fact that VTY locking is easily bypassable when DDBmux2003-02-271-1/+5
| | | | is compiled in the kernel. Also add some useful xrefs to lock(1).
* Pull some common uu/b64 code out into shared functions. Move somefanf2003-02-271-36/+44
| | | | | | | | | | end-of-file checks out of the inner base64 loop, and remove the trailing whitespace stripper. The latter was added in rev 1.23 but the actual fix for the problem was in 1.24 -- b64_pton doesn't mind extra whitespace. (However there's a bogus comment in OpenSSH's uuencode.c that also mentions problems with trailing whitespace and b64_pton, but their real problem is the comment field in the key file.)
OpenPOWER on IntegriCloud