Revision
9389 -
Directory Listing
-
[select for diffs]
Modified
Sat Mar 4 21:25:08 2017 UTC
(7 years, 6 months ago)
by
laffer1
Diff to
previous 9384
,
to
selected 8269
o Bring in sync decoding the first nfssvc(2) parameter (flags) with
the current definitions location.
o Respect numbers in NFSSVC_* (e.g. NFSSVC_V4ROOTEXPORT).
Revision
9308 -
Directory Listing
-
[select for diffs]
Modified
Thu Mar 2 23:34:51 2017 UTC
(7 years, 6 months ago)
by
laffer1
Diff to
previous 9250
,
to
selected 8269
MFC r249294:
Use IP6STAT_INC/IP6STAT_DEC macros to update ip6 stats.
MFC r249528,249546:
Add accounting to the source address selection algorithm for cases, when
it fails to select an address, also add several another counters to
the statistics.
MFC r249543,249552:
Replace hardcoded numbers.
MFC r249544:
Use IP6S_M2MMAX macro.
MFC r249545:
Replace hardcoded numbers. Also use interface-local scope name instead
of node-local.
Obtained from: FreeBSD
Revision
8972 -
Directory Listing
-
[select for diffs]
Modified
Thu Sep 29 17:32:55 2016 UTC
(8 years ago)
by
laffer1
Diff to
previous 8962
,
to
selected 8269
Introduce six new options from NetBSD: -M to log metadata in mtree format. -D destdir for log paths and -h log digest of tyhpe hash with -T tags to see which mtree tags to log. -l linkflag to create a hardlink or symlink and finally -U to install without having root. Also support -N dbdir for alternate passwd and group files.
Revision
8235 -
Directory Listing
-
[select for diffs]
Modified
Sat Sep 17 21:27:46 2016 UTC
(8 years ago)
by
laffer1
Diff to
previous 8190
,
to
selected 8269
touch: Add the -d option from POSIX.1-2008.
This is much like -t but with a different format which is ISO8601-like and
allows fractions of a second.
The precision is limited to microseconds because of utimes() and friends,
even though stat() returns nanoseconds.
Revision
8144 -
Directory Listing
-
[select for diffs]
Modified
Fri Sep 16 22:14:07 2016 UTC
(8 years ago)
by
laffer1
Diff to
previous 8137
,
to
selected 8269
- Use pid_t type instead of just int.
- Put arguments for print_syscall_ret() function in proper order.
Bug was introduced in r192025.
- Remove unused variables.
- Fix warnings about comparing signed and unsigned ints.
- Style(9) cleanup.
- Remove unused variables.
- Remove redundant return after err(3) call.
- Fix detaching under some circumstances.
When truss is detaching from very active process it is possible to
hang on waitpid(2) in restore_proc() forever, because
ptrace(PT_SYSCALL) must be called before detaching, to allow the
debugging process to continue execution. Also when truss called with
'-c' argument, it does not print anything after detach, because it
immediately exits from restore_proc().
To fix these two problems make detaching deferred, but then it is
impossible to detach from a process which does not do any system call.
To fix this issue use sigaction(2) instead of signal(3) to disable
SA_RESTART flag for waitpid(2) that makes it non-restartable. Remove
global variable child_pid, because now detaching is handled in context
where child's pid is known.
- Make truss thread-aware.
Revision
4408 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 7 13:40:58 2011 UTC
(12 years, 9 months ago)
by
laffer1
Diff to
previous 4392
,
to
selected 8269
Introduce BSD licensed version of grep.
MK_BSD_GREP = yes turns it on as grep, otherwise gnu grep is installed as grep and bsdgrep is bsd licensed grep. In the inverse, gnu grep becomes gnugrep.
For "compatibility", bsdgrep can use the gnu regex library which is also faster, but then it's not purely bsd.
Revision
4232 -
Directory Listing
-
[select for diffs]
Modified
Tue Oct 18 14:33:04 2011 UTC
(12 years, 11 months ago)
by
laffer1
Diff to
previous 4215
,
to
selected 8269
Remove lndir from base. This was added to make it easier for mirports, but since MidnightBSD does not include the rest of X in base it doesn't help much anyway.
Let's assume that anyone using mirports would still need our own X packages.
Revision
4215 -
Directory Listing
-
[select for diffs]
Modified
Sat Oct 15 20:18:31 2011 UTC
(12 years, 11 months ago)
by
laffer1
Diff to
previous 4202
,
to
selected 8269
Introduce CPU Affinity in MidnightBSD.
The ULE scheduler is now default on i386 and amd64 architectures.
cpuset(1) allows the user to limit a process to a group of CPU cores to run on using new system calls.
32bit versions of the system calls were also added to support 32bit binaries running on amd64 boxes. libc's
symbol map was modified to include the cpuset* system calls to expose them to userland.
This is based on work by Jeff Roberson from FreeBSD 7.1.
Revision
4201 -
Directory Listing
-
[select for diffs]
Modified
Wed Oct 5 03:52:09 2011 UTC
(12 years, 11 months ago)
by
laffer1
Diff to
previous 4195
,
to
selected 8269
When script(1) reads EOF from input it starts spinning on zero-byte
reads eating 100% CPU. Fix this by skipping select on STDIN after
reading EOF -- permanently if STDIN is not terminal and for one second
if it is.
Also after reading EOF from STDIN we have to pass it to the program
being scripted. The previous approach was to write zero bytes into the
pseudo-terminal. This does not work because zero-byte write does not
have any effect on read. Fix this by sending VEOF instead.
Obtained from: freebsd
Revision
4004 -
Directory Listing
-
[select for diffs]
Modified
Sat Jul 9 20:17:25 2011 UTC
(13 years, 2 months ago)
by
laffer1
Diff to
previous 3992
,
to
selected 8269
Add cpufreq(1). cpufreq is a utility to monitor the current cpu frequency easily. powerd(8) and cpufreq(4) can change the frequency to conserve energy and it's useful to monitor this at times.
The sysctl interface is handy, but annoying for one off's like this.
Revision
3900 -
Directory Listing
-
[select for diffs]
Modified
Thu Mar 17 11:54:08 2011 UTC
(13 years, 6 months ago)
by
laffer1
Diff to
previous 3844
,
to
selected 8269
Uptime validity check is not necessary as we've inherited the switch to clock_getuptime circa 2005.
vmstat now works with greater than 10 years of uptime. Yeah that will never happen but hey we can dream :)
Revision
3199 -
Directory Listing
-
[select for diffs]
Modified
Sat Nov 28 22:44:36 2009 UTC
(14 years, 10 months ago)
by
laffer1
Diff to
previous 3195
,
to
selected 8269
Import OpenBSD's sysctl sensors framework. This is based on work by Constantine A. Murenin for the 2007 Google summer of code for FreeBSD.
Includes:
sample config file for sensord
rc scripts
documentation fixes and updates
sys/kern/kern_sensors.c
sys/sensors.h
This is compatible with OpenBSD 4.1 and 4.2 in terms of the userland bits.
Revision
3152 -
Directory Listing
-
[select for diffs]
Modified
Sat Oct 31 21:32:03 2009 UTC
(14 years, 11 months ago)
by
laffer1
Diff to
previous 3130
,
to
selected 8269
Update m4 utility; sync with OpenBSD. Several little improvements have been made including using the ohash (in our libc) functions and some modern extensions from GNU m4.
Revision
3001 -
Directory Listing
-
[select for diffs]
Modified
Sat Jun 6 23:40:38 2009 UTC
(15 years, 3 months ago)
by
laffer1
Diff to
previous 2973
,
to
selected 8269
Remove pcc from base system. The idea was sound, but the implementation is just not there yet. This raises many questions about compiling the system with pcc direclty. This can't happen since it's on a C compiler and we've got several C++ libraries. This also hurts our Objective-C efforts. If we go with an alternate compiler, it must be something that supports at least Objective-C or C++. (ideally and)
I still want to try to make the system more pcc friendly, but the system is not ready for such an incomplete compiler.
Revision
2848 -
Directory Listing
-
[select for diffs]
Modified
Thu Apr 23 04:23:54 2009 UTC
(15 years, 5 months ago)
by
ctriv
Diff to
previous 2847
,
to
selected 8269
Look for libraries in $DESTDIR/lib first. This unbreaks building perl for a
0.3 world on a 0.2 box. This isn't 100% correct yet, work needs to be done
on limiting where the perl configure looks for libs.
Revision
2830 -
Directory Listing
-
[select for diffs]
Modified
Thu Apr 16 01:27:14 2009 UTC
(15 years, 5 months ago)
by
laffer1
Diff to
previous 2813
,
to
selected 8269
Add the '-u name' option to the env command, which will completely
unset the given variable name (removing it from the environment, instead
of just setting it to a null value).
Obtained from: FreeBSD
Revision
2756 -
Directory Listing
-
[select for diffs]
Modified
Sat Apr 11 04:43:26 2009 UTC
(15 years, 5 months ago)
by
laffer1
Diff to
previous 2729
,
to
selected 8269
Don't bother the user with a cryptic "file not found" message. The sysctl is failing only in cases we don't have a battery in the system or it is not reporting battery life.
Revision
2632 -
Directory Listing
-
[select for diffs]
Modified
Fri Mar 20 22:26:12 2009 UTC
(15 years, 6 months ago)
by
ctriv
Diff to
previous 2625
,
to
selected 8269
Nagging is a great thing for freebsd to be doing. We're not going to
make much of a difference nagging though, and it's slowing down builds.
Remove the sleep.
Revision
2624 -
Directory Listing
-
[select for diffs]
Modified
Mon Mar 16 17:31:22 2009 UTC
(15 years, 6 months ago)
by
ctriv
Diff to
previous 2618
,
to
selected 8269
Now compress man pages properly.
Todo:
* decide on the compiletime options we want. Two big ones are 64 bit
support and threads
* fix building in '.'. Right now you have to make obj first.
* test building when perl isn't already installed. I think it'll
work...
Revision
2379 -
Directory Listing
-
[select for diffs]
Modified
Sat Dec 6 05:08:38 2008 UTC
(15 years, 9 months ago)
by
laffer1
Diff to
previous 2370
,
to
selected 8269
Replace the batt command with a new implementation written in C. This version uses the sysctlbyname interface to collect data and runs much more quickly. Still requires ACPI battery information.
Add l, t and u flags to show the battery life as a percentage, time remaining, and number of batteries (units). The default is l and t.
Revision
1866 -
Directory Listing
-
[select for diffs]
Modified
Mon Sep 29 20:36:53 2008 UTC
(16 years ago)
by
laffer1
Diff to
previous 1796
,
to
selected 8269
Sync make with freebsd
$MidnightBSD$
<limits.h> is necessary for using INT_MIN, so included it here
explicitly rather than relying on name space pollution to pull it in
for us.
No need to tell make to DTRT with "make love", just do it.
Also remove the 2002/08/31 bootstrapping aid for upgrades from
year old (mid-2001) systems.
Fix splitting into words of the .for expression to allow for
spaces in values. Without this change, the following valid
call broke due to parsing of .MAKEFLAGS in bsd.symver.mk:
cd /usr/src/lib/libc && make -n DEBUG_FLAGS="-DFOO -DBAR"
If the special target .MAKEFILEDEPS exists, then enable the
"remaking makefiles" feature. Otherwise, follow traditional Pmake behavior.
Revision
1795 -
Directory Listing
-
[select for diffs]
Modified
Tue Sep 2 05:29:39 2008 UTC
(16 years ago)
by
laffer1
Diff to
previous 1752
,
to
selected 8269
Add progress(1) from NetBSD.
progress(1) is a standalone progress bar similar to the one in lukemftp. It is suitable for measu
ring input to arbitrary pipes.
You can use this to create progress bars in scripts, etc.
Revision
1752 -
Directory Listing
-
[select for diffs]
Modified
Sun Aug 17 03:56:12 2008 UTC
(16 years, 1 month ago)
by
laffer1
Diff to
previous 1741
,
to
selected 8269
Add batt, a rudimentary command to check the battery life on systems including batteries (typically laptops) that report via ACPI.
This command only reports information visible by sysctl.
Revision
1587 -
Directory Listing
-
[select for diffs]
Modified
Thu May 15 05:55:30 2008 UTC
(16 years, 4 months ago)
by
laffer1
Diff to
previous 1586
,
to
selected 8269
Duh. Switch back to /usr/local as cpp will conflict with gcc.
We might need to hack this and/or make a wrapper for the system compiler if we want to connect this to the build.
This is a rare case where we're writing to /usr/local and it's not a port. (maybe the only time) i don't like this one bit.
Revision
1585 -
Directory Listing
-
[select for diffs]
Modified
Thu May 15 05:38:35 2008 UTC
(16 years, 4 months ago)
by
laffer1
Diff to
previous 1584
,
to
selected 8269
Add Makefile.inc to define the libexec path we're using.
Disable the man page for pcc for now. I've moved the install path to /usr/bin and /usr/libexec for the files and cc.1 obviously conflicts with gcc's manpage. (actually i need to check on cpp's manpage)
Revision
1584 -
Directory Listing
-
[select for diffs]
Modified
Thu May 15 04:53:33 2008 UTC
(16 years, 4 months ago)
by
laffer1
Diff to
previous 1583
,
to
selected 8269
Since I'm having trouble sleeping, I might as well commit my progress on pcc.
This is now compiling on i386 on my laptop. It relies on two changes in bsd.sys.mk and sys.mk that I've not yet committed. (yacc and lex handling)
It's installed to /usr/local with a link to the manpage for pcc(1). (This will conflict with the port)
Revision
729 -
Directory Listing
-
[select for diffs]
Modified
Wed Feb 7 15:50:03 2007 UTC
(17 years, 7 months ago)
by
laffer1
Diff to
previous 728
,
to
selected 8269
TCP Auto sizing of socket buffers improves throughput on high latency links. Several new sysctls were added to control the buffers max size, etc.
Additional work is needed, but under initial testing this is working great. You must rebulid world in order for netstat to work correctly.
A few changes were made to netstat, but do not change functionality in any significant way.
Revision
603 -
Directory Listing
-
[select for diffs]
Modified
Sat Jan 13 13:51:19 2007 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 546
,
to
selected 8269
Handling of login.access(5) was moved from login(1) to pam_login_access(8) years ago. This will remove dead code, clean up manpages and install login.access.5 from the pam_login_access src dir.
Revision
435 -
Directory Listing
-
[select for diffs]
Modified
Sun Dec 31 07:08:37 2006 UTC
(17 years, 9 months ago)
by
laffer1
Diff to
previous 432
,
to
selected 8269
Add spell(1) from NetBSD. spell is a spell check program originating from Version 6 AT&T UNIX. It was opened up by Caldera and cleaned up by Todd Miller at OpenBSD, then additonal work was done by perry @ NetBSD.
I've decided to place the dictionary files in src/share/dict/* to keep usr.bin clean. The code is not very clean and could use improvement. I've left the NetBSD TODO for this purpose.
Revision
390 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 27 23:54:55 2006 UTC
(17 years, 9 months ago)
by
laffer1
Diff to
previous 389
,
to
selected 8269
Check the entire length of the current argument for the EOF string, but don't assume an ANSI string and thus don't use strcmp(3) which looks for NUL.
Revision
385 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 27 23:38:19 2006 UTC
(17 years, 9 months ago)
by
laffer1
Diff to
previous 384
,
to
selected 8269
Import getent(1), a program which retrieves and displays entries from the administrative database such as hosts, using the lookup order in nsswitch.conf(5).
Imported from FreeBSD, NetBSD.
Revision
330 -
Directory Listing
-
[select for diffs]
Modified
Fri Nov 24 19:41:57 2006 UTC
(17 years, 10 months ago)
by
laffer1
Diff to
previous 182
,
to
selected 8269
Check that -w width is not above maximum. Use DWIDTH constant instead of a hard coded constant.
Reported by Gruzicki Wlodek on Bugtraq.
Obtained from FreeBSD, NetBSD, and OpenBSD.
Revision
3 -
Directory Listing
-
[select for diffs]
Added
Sat Feb 25 02:29:52 2006 UTC
(18 years, 7 months ago)
by
laffer1
Diff
to
selected 8269
This commit was generated by cvs2svn to compensate for changes in r2, which
included commits to RCS files with non-trunk default branches.