#
0b8224d1 |
|
24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove copyright strings ifdef'd out We've ifdef'd out the copyright strings for some time now. Go ahead and remove the ifdefs. Plus whatever other detritis was left over from other recent removals. These copyright strings are present in the comments and are largely from CSRG's attempt at adding their copyright to every binary file (which modern interpretations of the license doesn't require). Sponsored by: Netflix
|
#
bdcbfde3 |
|
23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
usr.bin: Remove ancient SCCS tags. Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
|
#
1d386b48 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
a1b6427a |
|
07-Jul-2023 |
Alfonso Gregory <gfunni234@gmail.com> |
Mark usage function as __dead2 in programs where it does not return In most cases, usage does not return, so mark them as __dead2. For the cases where they do return, they have not been marked __dead2. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/735
|
#
8a16b7a1 |
|
20-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
General further adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point.
|
#
ee27b3cd |
|
13-Jun-2017 |
Stephen J. Kiernan <stevek@FreeBSD.org> |
The variable nargv is allocated but never freed, so free it when the it is no longer used. Submitted by: Thomas Rix <trix@juniper.net> Reviewed by: ed Approved by: sjg (mentor) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D9652
|
#
fbbd9655 |
|
28-Feb-2017 |
Warner Losh <imp@FreeBSD.org> |
Renumber copyright clause 4 Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96
|
#
bf70bece |
|
19-Oct-2012 |
Ed Schouten <ed@FreeBSD.org> |
More -Wmissing-variable-declarations fixes. In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
|
#
b3608ae1 |
|
03-Jan-2012 |
Ed Schouten <ed@FreeBSD.org> |
Replace index() and rindex() calls with strchr() and strrchr(). The index() and rindex() functions were marked LEGACY in the 2001 revision of POSIX and were subsequently removed from the 2008 revision. The strchr() and strrchr() functions are part of the C standard. This makes the source code a lot more consistent, as most of these C files also call into other str*() routines. In fact, about a dozen already perform strchr() calls.
|
#
487ac9ac |
|
30-Dec-2011 |
Ulrich Spörlein <uqs@FreeBSD.org> |
Spelling fixes for usr.bin/
|
#
6e46c1cc |
|
23-Apr-2011 |
Simon L. B. Nielsen <simon@FreeBSD.org> |
Check return code of setuid() and setgid() in finger. While they will not fail in normal circumstances, better safe than sorry. MFC after: 1 week
|
#
da52b4ca |
|
11-Dec-2010 |
Joel Dahl <joel@FreeBSD.org> |
Remove the advertising clause from UCB copyrighted files in usr.bin. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
fe0506d7 |
|
09-Mar-2010 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Create the altix project branch. The altix project will add support for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
|
#
550dcc59 |
|
13-Jan-2010 |
Ed Schouten <ed@FreeBSD.org> |
Migrate finger(1) towards utmpx. It was already ported to use libulog, which makes it simpler now. Be sure to catch the error returned by setutxdb(). Otherwise it may perform a lookup on the utx.active database.
|
#
90ad4a8e |
|
03-Jan-2010 |
Xin LI <delphij@FreeBSD.org> |
MFC r200793: Plug a memory leak. PR: bin/141836 Submitted by: Henning Petersen <henning.petersen at t-online.de>
|
#
70ad88f3 |
|
28-Dec-2009 |
Ed Schouten <ed@FreeBSD.org> |
Migrate finger(1) away from <utmp.h>. Unfortunately it also uses lastlog, which means we must resort to local extensions of the utmpx-interface. Because the user name and TTY name are now nul-terminated, there is no need to copy around strings as often.
|
#
13cf266e |
|
21-Dec-2009 |
Xin LI <delphij@FreeBSD.org> |
Plug a memory leak. PR: bin/141836 Submitted by: Henning Petersen <henning.petersen at t-online.de> MFC after: 2 weeks
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
b49339d7 |
|
11-Apr-2007 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Remove -T from getopt() spec and usage string. Submitted by: ru@
|
#
f8871cc8 |
|
11-Apr-2007 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Remove T/TCP support, and the -T option which was needed to disable it. MFC after: 3 weeks
|
#
d2e4ea2a |
|
19-Sep-2005 |
Diomidis Spinellis <dds@FreeBSD.org> |
Setting .nofinger will not hide you from root.
|
#
f682f10c |
|
21-May-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Sync program's usage() with manpage's SYNOPSIS.
|
#
f342fec6 |
|
13-Mar-2004 |
Bruce Evans <bde@FreeBSD.org> |
Fixed a misspelling of 0 as NULL.
|
#
ad468669 |
|
28-Jun-2003 |
Juli Mallett <jmallett@FreeBSD.org> |
Add code to keep going if you're really intent on fingering someone, but can't use utmp(5).
|
#
1acb5329 |
|
31-Oct-2002 |
Maxim Sobolev <sobomax@FreeBSD.org> |
Back out previous commit - it was not well thought out. Clue beaten in by: ume Pointy hat to: sobomax
|
#
ef1e4234 |
|
31-Oct-2002 |
Maxim Sobolev <sobomax@FreeBSD.org> |
Fix POLA breakage in 1.29: IPv4 should be default. This makes `-4' option a nop, but we'll probably want to keep it for compatibility with other KAME-based systems. Complained about by: Andrey Lakhno <land@dnepr.net> MFC after: 3 days
|
#
f4ac32de |
|
04-Sep-2002 |
David Malone <dwmalone@FreeBSD.org> |
ANSIify function definitions. Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings. Reviewed by: md5
|
#
3daa8471 |
|
22-Jul-2002 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
add -4 and -6 option to be able to specify an address family. Requested by: matusita MFC after: 1 week
|
#
0830bd13 |
|
02-Jul-2002 |
Jonathan Mini <mini@FreeBSD.org> |
Add -g option, which restricts printing of the gecos fields to just the user's real name. PR: bin/39462 Submitted by: Mike Makonnen <makonnen@pacbell.net> Obtained from: NetBSD MFC after: 1 week
|
#
f1bb2cd2 |
|
21-Mar-2002 |
Warner Losh <imp@FreeBSD.org> |
remove __P
|
#
9f5b04e9 |
|
10-Dec-2001 |
David Malone <dwmalone@FreeBSD.org> |
Style improvements recommended by Bruce as a follow up to some of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF.
|
#
4e030ba6 |
|
02-Dec-2001 |
Mark Murray <markm@FreeBSD.org> |
WARNS=2 fix, remove 'register' and use __FBSDID().
|
#
f4d292b7 |
|
21-Mar-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
Don't attempt to parse %c
|
#
4c86f3ad |
|
06-Feb-2001 |
Philippe Charnier <charnier@FreeBSD.org> |
Spelling Remove unused #includes
|
#
1e832bf8 |
|
22-Oct-2000 |
Ruslan Ermilov <ru@FreeBSD.org> |
-Wall cleanup. PR: 22187
|
#
0272ef9b |
|
05-Oct-2000 |
Ruslan Ermilov <ru@FreeBSD.org> |
Do not allow `finger -m /somefile' as well.
|
#
7ce8924a |
|
02-Oct-2000 |
Brian Somers <brian@FreeBSD.org> |
Don't allow finger /somefile, only allow filname expansions from inside /etc/finger.conf PR: 21704
|
#
1b57e365 |
|
12-Sep-2000 |
Brian Somers <brian@FreeBSD.org> |
Don't drop out when we've processed argc - 1 names.... arguments may expand to more than one user. PR: 21228
|
#
475f25eb |
|
25-Aug-2000 |
Brian Somers <brian@FreeBSD.org> |
Fix the -m option - broken by the last commit. Submitted by: Mark Knight <markk@knigma.org>
|
#
040864ac |
|
24-Aug-2000 |
Brian Somers <brian@FreeBSD.org> |
Allow finger.conf to contain aliases for files that will be displayed when fingered. Submitted by: Mark Knight <markk@knigma.org>
|
#
098c6e87 |
|
17-Aug-2000 |
Brian Somers <brian@FreeBSD.org> |
Allow a /etc/finger.conf file that contains finger aliases This allows people who's email address differs from their account name to be fingerable. Submitted by: Mark Knight <markk@knigma.org>
|
#
c3aac50f |
|
27-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
#
9ef5c48b |
|
04-Jul-1999 |
Bill Fumerola <billf@FreeBSD.org> |
Clean up some ambiguous nested if/elses.
|
#
dd5288f3 |
|
07-May-1999 |
David E. O'Brien <obrien@FreeBSD.org> |
Impliment elements of TCP Wrappers's `safe_finger'. * if run by root (or root process) drop privs * ensure output size is not infinate (net finger only) * ensure output lines are not infinate in length (net finger only) * do not allow finger client to run longer than 3 minutes (net finger only)
|
#
b14d8277 |
|
02-Jul-1997 |
Philippe Charnier <charnier@FreeBSD.org> |
Add rcsid, usage(). Silent -Wall. Use warn(3).
|
#
1c8af878 |
|
28-Mar-1997 |
Warner Losh <imp@FreeBSD.org> |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
#
df3f5d9d |
|
11-Mar-1997 |
Peter Wemm <peter@FreeBSD.org> |
Merge from Lite2
|
#
0da30e9a |
|
11-Mar-1997 |
Peter Wemm <peter@FreeBSD.org> |
Import some parts of CSRG 4.4BSD-Lite2 usr.bin sources to fix tree build.
|
#
03801815 |
|
15-Mar-1996 |
Andras Olah <olah@FreeBSD.org> |
Allow the user to disable the use of T/TCP by setting the -T option. This option becomes useless when all TCP stacks are fixed out there.
|
#
d1b2ad1a |
|
26-Oct-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Change locale to LC_ALL, there is no bitmask
|
#
dc675fc2 |
|
23-Oct-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Add setlocale LC_TIME|LC_CTYPE
|
#
c2ac9540 |
|
21-Jun-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Fix finger not check all users ~/.nofinger, only for actually matched. Close PR 539 Submitted by: tom@haven.uniserve.com
|
#
8829c73e |
|
03-Jan-1995 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Add Sean Eric Fagan's support for a ~/.nofinger file for user who prefer their privacy. Submitted by: sef
|
#
a5af661e |
|
05-Dec-1994 |
Paul Traina <pst@FreeBSD.org> |
Remove extra newline introduced in 44lite (oops)
|
#
59be6088 |
|
08-Sep-1994 |
Paul Traina <pst@FreeBSD.org> |
Add code to pull options out of FINGER environment variable if present. Yes, has same stupid bug as more(1), options must be specified as one argument. Submitted by: pst
|
#
86641d8f |
|
07-Sep-1994 |
Paul Traina <pst@FreeBSD.org> |
Install Luke's enhancements for finger. By default, behave like the old ugly 4.4bsd finger and print office information instead of remote login information. It's an easy one line fix to make it behave like most other vendor's fingers if we decide to change the default. Reviewed by: pst
|
#
9b50d902 |
|
26-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
BSD 4.4 Lite Usr.bin Sources
|