| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Many tab vs space cleanups.
Use setpgid() instead of setpgrp() which is more portable,
MFC after: 5 weeks
Notes:
svn path=/head/; revision=271787
|
|
|
|
|
|
|
| |
from the latter.
Notes:
svn path=/head/; revision=265420
|
|
|
|
|
|
|
|
|
| |
and finish the job. ncurses is now the only Makefile in the tree that
uses it since it wasn't a simple mechanical change, and will be
addressed in a future commit.
Notes:
svn path=/head/; revision=264400
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This structure is not part of POSIX. According to POSIX, gettimeofday()
has the following prototype:
int gettimeofday(struct timeval *restrict tp, void *restrict tzp);
Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is
not used). Remove dead error handling code. Also use NULL for a
nul-pointer instead of integer 0.
While there, change all pieces of code that only use tv_sec to use
time(3), as this provides less overhead.
Notes:
svn path=/head/; revision=239991
|
|
|
|
| |
Notes:
svn path=/head/; revision=236963
|
|
|
|
|
|
|
|
|
| |
set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp.
MFC after: 1 week
Notes:
svn path=/head/; revision=231118
|
|
|
|
| |
Notes:
svn path=/head/; revision=229779
|
|
|
|
|
|
|
|
|
|
|
| |
Correct the login.conf variable name used for obtaining the login prompt.
PR: conf/44717 (indirectly)
Spotted by: gcooper
MFC after: 1 week
Notes:
svn path=/head/; revision=211079
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=211077
|
|
|
|
|
|
|
|
| |
lastlog still not implemented, i am hoping that Ed or someone
has some idea on how to fix this, but it is really not important.
Notes:
svn path=/head/; revision=203876
|
|
|
|
|
|
|
|
|
| |
Clean up the ttys files shipped with PicoBSD, NanoBSD and TinyBSD. While
there, it seems one of them still had references to sio(4). Make it in
sync with what we do in the base system.
Notes:
svn path=/head/; revision=199251
|
|
|
|
|
|
|
|
|
| |
various functions returning void, missing headers, and so on).
MFC after: 4 weeks (not before 7.3 is out, anyways)
Notes:
svn path=/head/; revision=191565
|
|
|
|
|
|
|
|
|
| |
when we want to print an off_t cast to intmax_t and use %jd.
Up WARNS to 6.
Notes:
svn path=/head/; revision=189936
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. separating L2 tables (ARP, NDP) from the L3 routing tables
2. removing as much locking dependencies among these layers as
possible to allow for some parallelism in the search operations
3. simplify the logic in the routing code,
The most notable end result is the obsolescent of the route
cloning (RTF_CLONING) concept, which translated into code reduction
in both IPv4 ARP and IPv6 NDP related modules, and size reduction in
struct rtentry{}. The change in design obsoletes the semantics of
RTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userland
applications such as "arp" and "ndp" have been modified to reflect
those changes. The output from "netstat -r" shows only the routing
entries.
Quite a few developers have contributed to this project in the
past: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, and
Andre Oppermann. And most recently:
- Kip Macy revised the locking code completely, thus completing
the last piece of the puzzle, Kip has also been conducting
active functional testing
- Sam Leffler has helped me improving/refactoring the code, and
provided valuable reviews
- Julian Elischer setup the perforce tree for me and has helped
me maintaining that branch before the svn conversion
Notes:
svn path=/head/; revision=186119
|
|
|
|
| |
Notes:
svn path=/head/; revision=173926
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- use proper make configuration for the build, using
${BINMAKE} as evaluated by ${VERSION}/src/Makefile
- remove -lmytinfo from crunch.conf
- remove support for login_access in tinyware/login
- remove "machine i386" from the kernel config file
It might actually be interesting to extend the script to do
a cross build for !i386 ...
MFC after: 3 days
Notes:
svn path=/head/; revision=173597
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
them unsigned I made the possible overflows hard to detect,
and it only saved 1 bit which isn't principal, even less now
that the underlying issue with the total of virtual memory has
been fixed. (For the record, it will overflow with >=2T of
VM total, with 32-bit ints used to keep counters in pages.)
- While here, fix printing of other "struct vmtotal" members
such as t_rq, t_dw, t_pw, and t_sw as they are also signed.
Reviewed by: bde
MFC after: 3 days
Notes:
svn path=/head/; revision=164718
|
|
|
|
|
|
|
|
|
|
| |
- Fix overflow bugs in sysctl(8), systat(1), and vmstat(8)
when printing values of "struct vmmeter" in kilobytes as
they don't necessarily fit into 32 bits. (Fix sysctl(8)
reporting of a total virtual memory; it's in pages too.)
Notes:
svn path=/head/; revision=164443
|
|
|
|
|
|
|
|
|
|
|
| |
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
Notes:
svn path=/head/; revision=156813
|
|
|
|
|
|
|
|
|
|
|
| |
replacement and has additional features which make it superior.
Discussed on: -arch
Reviewed by: thompsa
X-MFC-after: never (RELENG_6 as transition period)
Notes:
svn path=/head/; revision=150636
|
|
|
|
|
|
|
|
| |
NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special
for it, now.
Notes:
svn path=/head/; revision=146187
|
|
|
|
| |
Notes:
svn path=/head/; revision=139126
|
|
|
|
|
|
|
| |
OK'ed by: core
Notes:
svn path=/head/; revision=139103
|
|
|
|
|
|
|
|
|
|
|
| |
to PRECIOUSLIB from bsd.lib.mk. The side effect of this
is making installing the world under jail(8) possible by
using another knob, NOFSCHG.
Reviewed by: oliver
Notes:
svn path=/head/; revision=137164
|
|
|
|
|
|
|
| |
any fake value.
Notes:
svn path=/head/; revision=136910
|
|
|
|
| |
Notes:
svn path=/head/; revision=136896
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with the following changes:
1) Don't make a mime_types.h 'cos we should avoid creating variables
in header files,
2) Use strrchr to find the extension, rather than strchr,
3) Slightly simplify the mime-type matching loop.
any goof are likely to be mine. Note that there are links to more
improvements by Eugene in the PR.
PR: 29725
Submitted by: Eugene Grosbein <eugen@kuzbass.ru>
Notes:
svn path=/head/; revision=133836
|
|
|
|
|
|
|
|
|
|
|
| |
These files had tags after the copyright notice,
inside the comment block (incorrect, removed),
and outside the comment block (correct).
Approved by: rwatson (mentor)
Notes:
svn path=/head/; revision=125668
|
|
|
|
| |
Notes:
svn path=/head/; revision=114303
|
|
|
|
|
|
|
|
| |
PR: 29725
Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
Notes:
svn path=/head/; revision=113129
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Make fetch_mode a pointer 'cos we can just use the optarg.
2) Constness.
3) Add/complete prototypes.
4) Change an int to a socklen_t.
5) Don't use C++ style comments.
6) Check return values from read and fork a little more carefully.
7) Avoid closing an uninitialised int.
8) Get rid of unneeded extern declarations.
Notes:
svn path=/head/; revision=113126
|
|
|
|
|
|
|
| |
Pass a time_t rather than a long to time.
Notes:
svn path=/head/; revision=112205
|
|
|
|
| |
Notes:
svn path=/head/; revision=104744
|
|
|
|
|
|
|
| |
the standard version of these files have been PAMified (and axed).
Notes:
svn path=/head/; revision=98514
|
|
|
|
|
|
|
|
| |
require libpam and all the libraries that libpam brings in.
We have no room for those on picobsd images.
Notes:
svn path=/head/; revision=96074
|
|
|
|
|
|
|
|
| |
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
Notes:
svn path=/head/; revision=95258
|
|
|
|
| |
Notes:
svn path=/head/; revision=94203
|
|
|
|
| |
Notes:
svn path=/head/; revision=94201
|
|
|
|
| |
Notes:
svn path=/head/; revision=94135
|
|
|
|
|
|
|
|
|
|
|
|
| |
the author obviously meant a void since he doesn't return any values.
One caveat, http_request has three return()'s, but doesn't do anything
with it. Either the code needs to be rewritten to take care of proper
error handling on that point, or the returns ripped out. I made it void
for now.
Notes:
svn path=/head/; revision=94134
|
|
|
|
|
|
|
|
|
|
| |
an off_t.
PR: 29725
Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
Notes:
svn path=/head/; revision=94133
|
|
|
|
|
|
|
|
| |
PR: 29725
Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
Notes:
svn path=/head/; revision=94132
|
|
|
|
|
|
|
|
| |
PR: 29725
Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
Notes:
svn path=/head/; revision=94130
|
|
|
|
| |
Notes:
svn path=/head/; revision=93287
|
|
|
|
|
|
|
| |
Reported-by: Bruce Montague
Notes:
svn path=/head/; revision=92071
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"top" does (thinking of it, i could have as well used the same format line!)
This only makes sense when "-w" option is also specified, because the
load is computed as the difference between subsequent samples.
I think this (and the "-d" feature which shows differences in the
network statistics counts) would also make sense in the standard
vmstat and netstat.
Notes:
svn path=/head/; revision=87832
|
|
|
|
| |
Notes:
svn path=/head/; revision=85450
|
|
|
|
|
|
|
|
|
| |
in interface statistics. Most useful when used with the -w flag e.g.
ns -i -w 1 -d
Notes:
svn path=/head/; revision=84769
|
|
|
|
|
|
|
| |
exported via sysctl.
Notes:
svn path=/head/; revision=84608
|
|
|
|
| |
Notes:
svn path=/head/; revision=84605
|