summaryrefslogtreecommitdiffstats
path: root/release/picobsd/tinyware
Commit message (Collapse)AuthorAgeFilesLines
* Rework all non-contributed files that use `struct timezone'.ed2012-09-011-8/+6
| | | | | | | | | | | | | | 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.
* Remove dead code.des2012-06-121-73/+16
|
* Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessordim2012-02-071-1/+1
| | | | | | set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp. MFC after: 1 week
* Spelling fixes for release/uqs2012-01-073-7/+7
|
* Merge r114010 of head/usr.bin/login/login.c into PicoBSD's login.c:gavin2010-08-081-1/+2
| | | | | | | | Correct the login.conf variable name used for obtaining the login prompt. PR: conf/44717 (indirectly) Spotted by: gcooper MFC after: 1 week
* Correct two error messages to match the failure they are reporting.gavin2010-08-081-2/+2
| | | | MFC after: 1 week
* a minimal set of changes to adapt to the utmp->utmpx changes.luigi2010-02-141-6/+13
| | | | | 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.
* Convert {small prefix}BSD to TERM=xterm as well.ed2009-11-131-2/+2
| | | | | | 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.
* fix various build errors (missing or wrong return types forluigi2009-04-271-16/+22
| | | | | | various functions returning void, missing headers, and so on). MFC after: 4 weeks (not before 7.3 is out, anyways)
* Warns fixes: use putenv rather than setenv to avoid constness problems,dwmalone2009-03-172-2/+4
| | | | | | when we want to print an off_t cast to intmax_t and use %jd. Up WARNS to 6.
* This main goals of this project are:qingli2008-12-151-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* silence compiler complaintssam2007-11-261-2/+3
|
* Fix picobsd builds. Changes include:luigi2007-11-141-3/+3
| | | | | | | | | | | | | - 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
* - Revert signedness type changes to "struct vmtotal"; by makingru2006-11-281-12/+8
| | | | | | | | | | | | | | 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
* - Fix types of "struct vmmeter" members so they are unsigned.ru2006-11-201-7/+11
| | | | | | | - 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.)
* Reimplementation of world/kernel build options. For details, see:ru2006-03-171-1/+3
| | | | | | | | 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)
* Remove bridge(4) from the tree. if_bridge(4) is a full functionalmlaier2005-09-271-56/+0
| | | | | | | | replacement and has additional features which make it superior. Discussed on: -arch Reviewed by: thompsa X-MFC-after: never (RELENG_6 as transition period)
* NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 definesume2005-05-131-8/+2
| | | | | NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special for it, now.
* NOPAM -> NO_PAMru2004-12-212-2/+2
|
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-219-9/+9
| | | | OK'ed by: core
* Introduce the PRECIOUSPROG knob in bsd.prog.mk, similarru2004-11-031-1/+1
| | | | | | | | 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
* For variables that are only checked with defined(), don't provideru2004-10-249-9/+9
| | | | any fake value.
* NEED_LIBNAMES is gone long ago.ru2004-10-241-1/+0
|
* Improve MIME handling. This patch is based on Eugene's patch, butdwmalone2004-08-161-15/+24
| | | | | | | | | | | | | | | 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>
* style cleanup: Remove duplicate $FreeBSD$ tags.cperciva2004-02-101-2/+0
| | | | | | | | These files had tags after the copyright notice, inside the comment block (incorrect, removed), and outside the comment block (correct). Approved by: rwatson (mentor)
* We no longer have KerberosIV. Remove it here also.markm2003-04-301-13/+0
|
* Don't forget to send the Content-length header after calculating it.dwmalone2003-04-051-0/+1
| | | | | PR: 29725 Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
* More warns cleanups and misc cleanups:dwmalone2003-04-051-25/+31
| | | | | | | | | | | 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.
* Don't return with a value in a void function.dwmalone2003-03-131-4/+4
| | | | Pass a time_t rather than a long to time.
* de-__P()alfred2002-10-104-32/+32
|
* Add a few files which are needed to build "passwd" now thatluigi2002-06-206-35/+891
| | | | the standard version of these files have been PAMified (and axed).
* Bring in a slightly older version of usr/bin/passwd which does notluigi2002-05-052-0/+359
| | | | | require libpam and all the libraries that libpam brings in. We have no room for those on picobsd images.
* Usage style sweep: spell "usage" with a small 'u'.des2002-04-221-1/+1
| | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
* Align for const poisoning in -lutil.ru2002-04-081-5/+6
|
* Synch with login/login.c,v 1.81: Switch to OpenPAM.ru2002-04-081-3/+3
|
* Add a missing void in the parameter list of http_request().asmodai2002-04-071-1/+1
|
* Give functions proper return type, since the default is an integer, whereasmodai2002-04-071-1/+7
| | | | | | | | | 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.
* Use %lld instead of %d in order to print struct stat's st_size, which isasmodai2002-04-071-1/+1
| | | | | | | an off_t. PR: 29725 Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
* Garbage collect unused variables.asmodai2002-04-071-5/+2
| | | | | PR: 29725 Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
* Actually print the port we are listening too when specified verbose mode.asmodai2002-04-071-1/+1
| | | | | PR: 29725 Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
* Function declared void shouldn't return any value...abial2002-03-271-2/+2
|
* Make this compile againluigi2002-03-111-1/+1
| | | | Reported-by: Bruce Montague
* Add a '-l' flag to show CPU load for the various states, similar to whatluigi2001-12-141-2/+46
| | | | | | | | | | | "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.
* Use the correct sysctl names for intrcnt and intrnames.luigi2001-10-251-2/+2
|
* Add a -d flag to show deltas as opposed to cumulative countersluigi2001-10-101-6/+32
| | | | | | in interface statistics. Most useful when used with the -w flag e.g. ns -i -w 1 -d
* Add code to print interrupt statistics when they will beluigi2001-10-071-0/+42
| | | | exported via sysctl.
* Fix a typo (missing "; at the end of a string)luigi2001-10-071-1/+1
|
* Add customised version of login for picobsd images on -CURRENT.luigi2001-10-014-0/+1167
| | | | | This version is basically the same one as login.c 1.67, and does not require the use of PAM.
* s/adress/address/kris2001-07-231-1/+1
| | | | | Inspired by: OpenBSD MFC After: 1 week
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-1/+0
|
OpenPOWER on IntegriCloud