Revision
9410 -
Directory Listing
-
[select for diffs]
Modified
Sat Mar 4 21:44:18 2017 UTC
(7 years, 1 month ago)
by
laffer1
Diff to
previous 9389
Use procstat_getprocs(3) for retrieving thread info instead of sysctls.
Use procstat_getvmmap for retrieving VM layout of a process.
Revision
9389 -
Directory Listing
-
[select for diffs]
Modified
Sat Mar 4 21:25:08 2017 UTC
(7 years, 1 month ago)
by
laffer1
Diff to
previous 9384
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, 1 month ago)
by
laffer1
Diff to
previous 9250
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
(7 years, 7 months ago)
by
laffer1
Diff to
previous 8962
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
8672 -
Directory Listing
-
[select for diffs]
Modified
Sun Sep 25 20:39:45 2016 UTC
(7 years, 7 months ago)
by
laffer1
Diff to
previous 8633
fix handling of the case when multipel patterns are specified in a single command line argument separated by newlines
Revision
8235 -
Directory Listing
-
[select for diffs]
Modified
Sat Sep 17 21:27:46 2016 UTC
(7 years, 7 months ago)
by
laffer1
Diff to
previous 8190
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
8154 -
Directory Listing
-
[select for diffs]
Modified
Fri Sep 16 22:22:46 2016 UTC
(7 years, 7 months ago)
by
laffer1
Diff to
previous 8144
fix pseudo checksum calculation. this fixes ipfilter with network controllers that mplement partial rx csum offload
Revision
8144 -
Directory Listing
-
[select for diffs]
Modified
Fri Sep 16 22:14:07 2016 UTC
(7 years, 7 months ago)
by
laffer1
Diff to
previous 8137
- 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
6787 -
Directory Listing
-
[select for diffs]
Modified
Sun Sep 28 14:08:57 2014 UTC
(9 years, 7 months ago)
by
laffer1
Diff to
previous 6777
depending on MK_BMAKE flag, turn on netbsd make or freebsd make. If bmake is on, install freebsd make as fmake
Revision
6006 -
Directory Listing
-
[select for diffs]
Modified
Sat Aug 24 19:33:44 2013 UTC
(10 years, 8 months ago)
by
laffer1
Diff to
previous 5829
This commit was generated by cvs2svn to compensate for changes in r6005,
which included commits to RCS files with non-trunk default branches.
Revision
5104 -
Directory Listing
-
[select for diffs]
Modified
Sun Aug 12 13:55:45 2012 UTC
(11 years, 8 months ago)
by
laffer1
Diff to
previous 5064
This commit was generated by cvs2svn to compensate for changes in r5103,
which included commits to RCS files with non-trunk default branches.
Revision
5064 -
Directory Listing
-
[select for diffs]
Modified
Fri Jul 20 02:40:53 2012 UTC
(11 years, 9 months ago)
by
laffer1
Diff to
previous 5063
Drop objformat. It's always returning elf anyway. Supposedly gnu configure scripts can handle it's absense now.
Revision
5063 -
Directory Listing
-
[select for diffs]
Modified
Fri Jul 20 02:38:35 2012 UTC
(11 years, 9 months ago)
by
laffer1
Diff to
previous 5061
This commit was generated by cvs2svn to compensate for changes in r5062,
which included commits to RCS files with non-trunk default branches.
Revision
5055 -
Directory Listing
-
[select for diffs]
Modified
Fri Jul 20 01:57:19 2012 UTC
(11 years, 9 months ago)
by
laffer1
Diff to
previous 5036
This commit was generated by cvs2svn to compensate for changes in r5054,
which included commits to RCS files with non-trunk default branches.
Revision
4507 -
Directory Listing
-
[select for diffs]
Modified
Sat Dec 31 00:34:06 2011 UTC
(12 years, 4 months ago)
by
laffer1
Diff to
previous 4506
fix the problem that the entry broke into two lines with multibyte AM/PM format. obtained from FreeBSD 8-stable
Revision
4408 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 7 13:40:58 2011 UTC
(12 years, 4 months ago)
by
laffer1
Diff to
previous 4392
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, 6 months ago)
by
laffer1
Diff to
previous 4215
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, 6 months ago)
by
laffer1
Diff to
previous 4202
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, 6 months ago)
by
laffer1
Diff to
previous 4195
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
(12 years, 9 months ago)
by
laffer1
Diff to
previous 3992
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, 1 month ago)
by
laffer1
Diff to
previous 3844
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
3723 -
Directory Listing
-
[select for diffs]
Modified
Sun Feb 6 18:04:39 2011 UTC
(13 years, 2 months ago)
by
laffer1
Diff to
previous 3665
Sync unzip with FreeBSD 9. Exclude r/R flags as we don't yet have getdelim and they don't seem to be connected anyway.
Revision
3428 -
Directory Listing
-
[select for diffs]
Modified
Sun Jul 4 13:59:12 2010 UTC
(13 years, 9 months ago)
by
laffer1
Diff to
previous 3422
Introduce brainfuck(1) to MidnightBSD. brainfuck is a language/interpreter with details in the man page.
Obtained from: MirBSD
Revision
3199 -
Directory Listing
-
[select for diffs]
Modified
Sat Nov 28 22:44:36 2009 UTC
(14 years, 5 months ago)
by
laffer1
Diff to
previous 3195
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, 6 months ago)
by
laffer1
Diff to
previous 3130
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
3130 -
Directory Listing
-
[select for diffs]
Modified
Sat Oct 17 22:16:35 2009 UTC
(14 years, 6 months ago)
by
laffer1
Diff to
previous 3082
Add -A flag to adjust existing time stamps.
Print name by which program was started in usage() message.
Obtained from: FreeBSD
Revision
3001 -
Directory Listing
-
[select for diffs]
Modified
Sat Jun 6 23:40:38 2009 UTC
(14 years, 10 months ago)
by
laffer1
Diff to
previous 2973
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 ago)
by
ctriv
Diff to
previous 2847
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 ago)
by
laffer1
Diff to
previous 2813
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 ago)
by
laffer1
Diff to
previous 2729
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, 1 month ago)
by
ctriv
Diff to
previous 2625
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, 1 month ago)
by
ctriv
Diff to
previous 2618
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
2618 -
Directory Listing
-
[select for diffs]
Modified
Sun Mar 15 23:23:49 2009 UTC
(15 years, 1 month ago)
by
ctriv
Diff to
previous 2599
start of our core perl.
Right now the man pages aren't handled correctly, nor is building in '.'.
Not yet ready to be connected to the build.
Revision
2379 -
Directory Listing
-
[select for diffs]
Modified
Sat Dec 6 05:08:38 2008 UTC
(15 years, 4 months ago)
by
laffer1
Diff to
previous 2370
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
2137 -
Directory Listing
-
[select for diffs]
Modified
Sat Nov 22 16:46:18 2008 UTC
(15 years, 5 months ago)
by
laffer1
Diff to
previous 2052
This commit was generated by cvs2svn to compensate for changes in r2136,
which included commits to RCS files with non-trunk default branches.
Revision
2049 -
Directory Listing
-
[select for diffs]
Modified
Thu Nov 13 20:19:02 2008 UTC
(15 years, 5 months ago)
by
laffer1
Diff to
previous 2047
This commit was generated by cvs2svn to compensate for changes in r2048,
which included commits to RCS files with non-trunk default branches.
Revision
1866 -
Directory Listing
-
[select for diffs]
Modified
Mon Sep 29 20:36:53 2008 UTC
(15 years, 7 months ago)
by
laffer1
Diff to
previous 1796
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
(15 years, 8 months ago)
by
laffer1
Diff to
previous 1752
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
(15 years, 8 months ago)
by
laffer1
Diff to
previous 1741
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
1661 -
Directory Listing
-
[select for diffs]
Modified
Wed Jun 25 19:49:04 2008 UTC
(15 years, 10 months ago)
by
laffer1
Diff to
previous 1588
Install pcc into /usr/bin /usr/libexec. Do not install man pages as they conflict with gcc equivalants.
Programs installed are pcc, pccom and pccp.
Revision
1587 -
Directory Listing
-
[select for diffs]
Modified
Thu May 15 05:55:30 2008 UTC
(15 years, 11 months ago)
by
laffer1
Diff to
previous 1586
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
1586 -
Directory Listing
-
[select for diffs]
Modified
Thu May 15 05:43:56 2008 UTC
(15 years, 11 months ago)
by
laffer1
Diff to
previous 1585
add i386 directory which contains files in arch/x86 (similar to openbsd setup).
Remove arch
Disable the man page for cpp since gcc installs one.
Revision
1585 -
Directory Listing
-
[select for diffs]
Modified
Thu May 15 05:38:35 2008 UTC
(15 years, 11 months ago)
by
laffer1
Diff to
previous 1584
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
(15 years, 11 months ago)
by
laffer1
Diff to
previous 1583
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
1581 -
Directory Listing
-
[select for diffs]
Modified
Wed May 14 04:25:57 2008 UTC
(15 years, 11 months ago)
by
laffer1
Diff to
previous 1580
Work in progress: A reorganization of pcc similar to what OpenBSD did with it. This is much easier to work with.
Revision
1207 -
Directory Listing
-
[select for diffs]
Modified
Sun Aug 19 01:59:21 2007 UTC
(16 years, 8 months ago)
by
archite
Diff to
previous 1106
Updating Makefile's to build sudo correctly. Moved closefrom.c to lib/Makefile
as opposed to being in sudo/Makefile.
Revision
875 -
Directory Listing
-
[select for diffs]
Modified
Wed Mar 21 03:35:14 2007 UTC
(17 years, 1 month ago)
by
laffer1
Diff to
previous 874
Remove ucb advertising clause on some files. Attempt to finish the wanrs 3 workwhich caused problems on 64bit arch
Revision
739 -
Directory Listing
-
[select for diffs]
Modified
Mon Feb 12 18:49:10 2007 UTC
(17 years, 2 months ago)
by
laffer1
Diff to
previous 738
WARNS=3
NULL terminate nlist.
Constify several functions.
Use uintmax_t to pass around 64bit quantities.
Revision
729 -
Directory Listing
-
[select for diffs]
Modified
Wed Feb 7 15:50:03 2007 UTC
(17 years, 2 months ago)
by
laffer1
Diff to
previous 728
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, 3 months ago)
by
laffer1
Diff to
previous 546
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, 4 months ago)
by
laffer1
Diff to
previous 432
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
431 -
Directory Listing
-
[select for diffs]
Modified
Sun Dec 31 04:44:37 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 412
Add seq from NetBSD 3.0. seq prints out a sequence of random numbers, one per line from first to as near last as possible.
Revision
400 -
Directory Listing
-
[select for diffs]
Modified
Thu Dec 28 00:57:17 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 399
$MidnightBSD$, Correct incorrect statement about the return value as 0 is returned if ALL are found, not any.
Revision
390 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 27 23:54:55 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 389
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
387 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 27 23:48:24 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 386
Add DONTSTRIP so that one can easily install debugable binaries when one cannot easily edit a package's makefiles or configure scripts.
Revision
385 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 27 23:38:19 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 384
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, 5 months ago)
by
laffer1
Diff to
previous 182
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
6 -
Directory Listing
-
[select for diffs]
Modified
Sat Feb 25 02:38:42 2006 UTC
(18 years, 2 months ago)
by
laffer1
Diff to
previous 3
This commit was generated by cvs2svn to compensate for changes in r5, which
included commits to RCS files with non-trunk default branches.
Revision
3 -
Directory Listing
-
[select for diffs]
Added
Sat Feb 25 02:29:52 2006 UTC
(18 years, 2 months ago)
by
laffer1
This commit was generated by cvs2svn to compensate for changes in r2, which
included commits to RCS files with non-trunk default branches.