Revision
9480 -
Directory Listing
-
[select for diffs]
Modified
Sun Mar 5 20:00:48 2017 UTC
(7 years, 3 months ago)
by
laffer1
Diff to
previous 9453
,
to
selected 8519
Fix a long standing logic bug introduced in r167814. The code was added to
get RSDP from loader(8) hint via kenv(2) but the bug nullified the new code
and we always fell back to the previous method, i. e., sysctlbyname(3).
Obtained from: FreeBSD
Revision
9453 -
Directory Listing
-
[select for diffs]
Modified
Sun Mar 5 19:33:06 2017 UTC
(7 years, 3 months ago)
by
laffer1
Diff to
previous 9452
,
to
selected 8519
Revert my previous merge. There's a variable name difference between head
and stable (dirfd vs. dir_fd) and I managed to get it wrong again when I
did the MFC, even after I tested.
Revision
9452 -
Directory Listing
-
[select for diffs]
Modified
Sun Mar 5 19:32:41 2017 UTC
(7 years, 3 months ago)
by
laffer1
Diff to
previous 9436
,
to
selected 8519
Some filesystems (NFS in particular) do not fill out the d_type field when
returning directory entries through readdir(3). In this case we need to
obtain the file type ourselves; otherwise newsyslog -t will not be able to
find archived log files and will fail to both delete old log files and to
do interval-based rotations properly.
Revision
9392 -
Directory Listing
-
[select for diffs]
Modified
Sat Mar 4 21:26:28 2017 UTC
(7 years, 3 months ago)
by
laffer1
Diff to
previous 9385
,
to
selected 8519
Fix the getpwuid_r() call in the gssd daemon so that it handles
the ERANGE error return case. Without this fix, authentication
of users for certain system setups could fail unexpectedly.
Revision
9352 -
Directory Listing
-
[select for diffs]
Modified
Sat Mar 4 19:32:15 2017 UTC
(7 years, 3 months ago)
by
laffer1
Diff to
previous 9350
,
to
selected 8519
Add support for getting and setting BBU properties related to battery
relearning. Specifically, add subcommands to mfiutil(8) which allow the
user to set the BBU and autolearn modes when the firmware supports it,
and add a subcommand which kicks off a battery relearn.
Obtained from: FreeBSD
Revision
9350 -
Directory Listing
-
[select for diffs]
Modified
Sat Mar 4 16:53:09 2017 UTC
(7 years, 3 months ago)
by
laffer1
Diff to
previous 9326
,
to
selected 8519
Fix interval-based rotations when the -t flag is used. In this case, find
the most-recently archived logfile and use its mtime to determine whether
or not to rotate, as in the non-timestamped case.
Previously we would just try to use the mtime of <logfile>.0, which always
results in a rotation since it generally doesn't exist in the -t case.
Revision
9326 -
Directory Listing
-
[select for diffs]
Modified
Fri Mar 3 00:23:12 2017 UTC
(7 years, 3 months ago)
by
laffer1
Diff to
previous 9315
,
to
selected 8519
syslogd: Use closefrom() instead of getdtablesize()/close()
loop.
When syslogd forks a process for '|' destinations, it closes all file
descriptors greater than 2.
Use closefrom() for this instead of a getdtablesize()/close() loop because
it is both faster and avoids leaving file descriptors open because the limit
was lowered after they were opened.
Revision
8843 -
Directory Listing
-
[select for diffs]
Modified
Mon Sep 26 04:11:25 2016 UTC
(7 years, 8 months ago)
by
laffer1
Diff to
previous 8841
,
to
selected 8519
denote pci-e endpoints that support FLR. Make parsing of PCI-e extended capabilities assume that future version numbers are backward compatible. add new AER error descriptions.
Revision
8519 -
Directory Listing
-
[selected]
Modified
Sun Sep 18 22:59:30 2016 UTC
(7 years, 8 months ago)
by
laffer1
Diff to
previous 8518
allow pager choice if it cant find default
Revision
8185 -
Directory Listing
-
[select for diffs]
Modified
Sat Sep 17 15:31:55 2016 UTC
(7 years, 8 months ago)
by
laffer1
Diff to
previous 8184
,
to
selected 8519
Attila Bogar reported a bug in mountd when multiple export
entries with different security flavors are in the exports(5)
file. For that case, mountd replies with the security flavors
of the last entry and not the correct one for the client host.
This patch fixes that by storing separate copies of the flavors
for each host/net case, plus a default one for the case where
no hosts/nets are specified on an entry in the exports(5) file.
Unlike the patch in the PR, it replies with the security flavors
for the entry instead of merging the security flavors for all
the entries and replying with that.
Obtained from: FreeBSD
Revision
7936 -
Directory Listing
-
[select for diffs]
Modified
Wed Sep 14 21:17:23 2016 UTC
(7 years, 9 months ago)
by
laffer1
Diff to
previous 7915
,
to
selected 8519
Remember that I'm using length-defined strings in parameters:
Remove a bogus null terminator when stripping the netmask from
IP addresses. This was causing later addresses in a comma-separated
string to disappear.
Use memcpy instead of strcpy. This could just cause Bad Things.
Pre-separate IP addresses passed on the command line, so they can be
properly parsed for interface prefixes and netmask suffixes. This was
already done for the old-style (fixed) command line, but missed for
the new-style.
Partially roll back r239601 - keep parameter strings both length-delimited
and null-terminated at the same time, because they're later passed to
libjail as null-terminated. That means I also need to add a nul byte when
comma-combining array parameters.
Obtained from FreeBSD
Revision
7337 -
Directory Listing
-
[select for diffs]
Modified
Wed Sep 30 13:10:39 2015 UTC
(8 years, 8 months ago)
by
laffer1
Diff to
previous 7284
,
to
selected 8519
In rpcbind(8), netbuf structures are copied directly, which would result in
two netbuf structures that reference to one shared address buffer. When one
of the two netbuf structures is freed, access to the other netbuf structure
would result in an undefined result that may crash the rpcbind(8) daemon.
Revision
6883 -
Directory Listing
-
[select for diffs]
Modified
Tue Oct 21 22:29:37 2014 UTC
(9 years, 7 months ago)
by
laffer1
Diff to
previous 6857
,
to
selected 8519
Due to a missing length check in the code that handles DNS parameters,
a malformed router advertisement message can result in a stack buffer
overflow in rtsold(8).
Obtained from: FreeBSD
Revision
6043 -
Directory Listing
-
[select for diffs]
Modified
Fri Oct 4 11:36:04 2013 UTC
(10 years, 8 months ago)
by
laffer1
Diff to
previous 6040
,
to
selected 8519
- Add IFT_L2VLAN (vlan(4)) support.
- Add a -P option to support PID files. When -a is specified
/var/run/rarpd.pid is used by default, and when an interface is
specified /var/run/rarpd.<ifname>.pid is used by default.
Obtained from: FreeBSD 9.2-RELEASE
Revision
4197 -
Directory Listing
-
[select for diffs]
Modified
Sat Oct 1 04:58:18 2011 UTC
(12 years, 8 months ago)
by
laffer1
Diff to
previous 4147
,
to
selected 8519
Introduce new feature to traceroute(8), AS lookup using -a. This will prefix entries with AS numbers and you can specify the whois server using -A.
Obtained from: NetBSD/FreeBSD
Revision
4145 -
Directory Listing
-
[select for diffs]
Modified
Sat Sep 10 05:24:31 2011 UTC
(12 years, 9 months ago)
by
laffer1
Diff to
previous 4041
,
to
selected 8519
Introduce new "download" command. It downloads the package into the default system package directory and prints the path if successful.
You don't *need* this command, but if you want to pre-fetch packages before installation later, it could come in handy. Note it only downloads the package and not it's dependancies.
This behavior is similar to apt-get's download command in debian/ubuntu. However, it doesn't download to the local directory.
Revision
4012 -
Directory Listing
-
[select for diffs]
Modified
Sun Jul 10 15:42:48 2011 UTC
(12 years, 11 months ago)
by
laffer1
Diff to
previous 4011
,
to
selected 8519
Rewrite the upgrade logic to try to upgrade packages from a bottom up order using recursion. This is necessary because package install scripts may set things up and assume that their downdepends have run.
This is one of two problems discovered during the "stargazer" test. The second is related to ports with the same name but different versions. I've modified the ports system to pay attention to the pkgnamesuffix which will help in some cases, but say you have
python-2.4 and python-2.5. These are distinct ports and can be installed at the same time. One idea is to use the CONFLICTS secions to know if it's safe to install two ports at the same time. if it is, assume 2.4 doesn't get updated to 2.5. Their presense in the index is also a clue, but the version check logic isn't that smart yet. This will be dealt with in a later update.
I've left in some print statements as this code is untested until a new magus run can be done on i386. Use at your own risk!
Revision
4009 -
Directory Listing
-
[select for diffs]
Modified
Sun Jul 10 01:50:42 2011 UTC
(12 years, 11 months ago)
by
laffer1
Diff to
previous 4006
,
to
selected 8519
Fix a longstanding bug with the deleteall feature. Check for updepends before deleting a port. We want to delete them from top down in case the deinstall scripts do anything and also so we don't get warnings about ports depending on downdepends.
Revision
3986 -
Directory Listing
-
[select for diffs]
Modified
Thu Jun 16 03:22:51 2011 UTC
(13 years ago)
by
laffer1
Diff to
previous 3977
,
to
selected 8519
Add preliminary code to check if there is an update in the index over the installed version. This is a bit backwords, but we want to avoid the overhead of reading the package meta info for everything currently installed. It allows us to skip quite a few things and we're already loading the new update index anyway.
This could potentially save a LOT of bandwidth as we test packages md5 sums meaning we download them in the old case.
Revision
3905 -
Directory Listing
-
[select for diffs]
Modified
Sat Mar 26 16:53:46 2011 UTC
(13 years, 2 months ago)
by
laffer1
Diff to
previous 3871
,
to
selected 8519
Remove legacy ia64 support from the system. I don't think we'll ever have the resources to support Intel Itanium chips.
Remove expert and custom installation options. This should improve usability and only piss off a very small number of users.
Fix a bug where automated installs can't use UFS1.
Increase the default and minimum sizes of several partitions. / /var /tmp and /usr all need to be a little bigger these days.
Revision
3836 -
Directory Listing
-
[select for diffs]
Modified
Mon Mar 7 22:04:04 2011 UTC
(13 years, 3 months ago)
by
laffer1
Diff to
previous 3834
,
to
selected 8519
Add new clean command to mport tools. It deletes old packages in the staging dir and runs vacuum on sqlite3.
Also fix formatting of the man page and add details about clean there.
Revision
3833 -
Directory Listing
-
[select for diffs]
Modified
Mon Mar 7 20:02:23 2011 UTC
(13 years, 3 months ago)
by
laffer1
Diff to
previous 3831
,
to
selected 8519
Add new search feature to mport tool.
The following works:
mport search php5 - matches exact package name
mport search "*php*" - glob style search of package names and comments
Note this searches the index of all packages. If you want to know if a package is installed, use mport info pkgname.
Revision
3828 -
Directory Listing
-
[select for diffs]
Modified
Sun Mar 6 22:06:28 2011 UTC
(13 years, 3 months ago)
by
laffer1
Diff to
previous 3827
,
to
selected 8519
Use the mport primative for updates.
Add a new upgrade method that will upgrade all installed ports that need it. This has one big flaw in that it will fetch packages even when it doesn't need to.
Revision
3826 -
Directory Listing
-
[select for diffs]
Modified
Sun Mar 6 20:26:39 2011 UTC
(13 years, 3 months ago)
by
laffer1
Diff to
previous 3824
,
to
selected 8519
Add new info command. Returns information about packages that are installed as well as packages that are included in the index but not installed.
Format:
package name
lastest: (version)
installed: (version)
license:
comment/description
Revision
3818 -
Directory Listing
-
[select for diffs]
Modified
Sun Mar 6 17:20:25 2011 UTC
(13 years, 3 months ago)
by
laffer1
Diff to
previous 3813
,
to
selected 8519
Major refactor of mport tool code.
Use libmport to lookup entries in the index for fetching remote packages. This means we can now create a magus run and load it on the ftp and have users remotely install mport packages! (local install is a todo item)
Add a new update command which uninstalls a package and then fetches and installs a new one. This is very "dumb" right now and it doesn't do updepends checks yet.
Revision
3803 -
Directory Listing
-
[select for diffs]
Modified
Sat Feb 26 21:25:40 2011 UTC
(13 years, 3 months ago)
by
laffer1
Diff to
previous 3645
,
to
selected 8519
Add wrapper to call list updates command to see packages that need to be updated.
This compares the installed packages on the local system to the index file which is at most 24 hours old.
Revision
3542 -
Directory Listing
-
[select for diffs]
Modified
Thu Oct 21 15:51:00 2010 UTC
(13 years, 7 months ago)
by
laffer1
Diff to
previous 3541
,
to
selected 8519
sysrc is a new utility written by Devin Teske that allows a user to easily modify the contents of /etc/rc.conf (or a version in a jail). It will check for existing variables and adjust the value as necessary. This is less error prone than echo >> type operations and it causes less spam.
Revision
3436 -
Directory Listing
-
[select for diffs]
Modified
Sat Jul 31 05:38:50 2010 UTC
(13 years, 10 months ago)
by
laffer1
Diff to
previous 3433
,
to
selected 8519
Add -m option to cron(8), which overrides default mail recipient for cron mails unless it's explicitly provided by MAILTO= in crontab. Setting the recipient to null string disables default mails. Also remove __P instances. Obtained from: FreeBSD 9-CURRENT
Revision
3295 -
Directory Listing
-
[select for diffs]
Modified
Thu Mar 4 03:02:32 2010 UTC
(14 years, 3 months ago)
by
laffer1
Diff to
previous 3294
,
to
selected 8519
This version can now install and delete to some degree.
Delete only needs the pkgname.. for instance
mport delete p7zip
install doesn't do remote yet, and it must already have a package ready in /usr/mports/Packages/<arch>/All
You must include the EXACT version number like
mport install p7zip-9.04
This will get smarter and more useful in time.
delete and list commands are useful now.
Revision
3264 -
Directory Listing
-
[select for diffs]
Modified
Sun Jan 17 14:42:44 2010 UTC
(14 years, 5 months ago)
by
laffer1
Diff to
previous 3254
,
to
selected 8519
Improve powerd accuracy on SMP based systems. We're now using summary load instead of average load.
powerd is independant from number and size of frequency levels now.
Add new hiadaptive load for ac powered systems which rises freq twice as fast and drops it on 1/8 per time interval.
Default polling was changed from 1/2 to 1/4 of a second.
Based upon FreeBSD 7.2 patches to powerd.
Revision
3199 -
Directory Listing
-
[select for diffs]
Modified
Sat Nov 28 22:44:36 2009 UTC
(14 years, 6 months ago)
by
laffer1
Diff to
previous 3191
,
to
selected 8519
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
3138 -
Directory Listing
-
[select for diffs]
Modified
Sat Oct 24 05:13:57 2009 UTC
(14 years, 7 months ago)
by
laffer1
Diff to
previous 3119
,
to
selected 8519
Modify sysinstall to detect SMP systems and choose an alternate kernel on i386/amd64. This will allow us to ship both a UNI and SMP kernel instead of just a SMP kernel.
Revision
2914 -
Directory Listing
-
[select for diffs]
Modified
Wed May 20 23:33:31 2009 UTC
(15 years ago)
by
laffer1
Diff to
previous 2913
,
to
selected 8519
Prompt user for keymap/country selection. This will adjust the map for different locales, etc. Also remove configuration options for exim and postfix as we don't have mports for them.
Revision
2911 -
Directory Listing
-
[select for diffs]
Modified
Wed May 20 22:24:27 2009 UTC
(15 years ago)
by
laffer1
Diff to
previous 2909
,
to
selected 8519
We no longer have usbd, devd does all the heavy lifting.
ALso, remove process limits from sysinstall. It makes absolutely no sense to have process limits for the installer.
Revision
2065 -
Directory Listing
-
[select for diffs]
Modified
Sun Nov 16 22:12:28 2008 UTC
(15 years, 7 months ago)
by
laffer1
Diff to
previous 2064
,
to
selected 8519
Add sade utility (connect to build). This is a disk editor which duplicates some of the functionality of sysinstall so that we can remove it later.
Does not support gmirror, etc yet. It's better than nothing.
Revision
1609 -
Directory Listing
-
[select for diffs]
Modified
Sat May 17 06:47:35 2008 UTC
(16 years, 1 month ago)
by
laffer1
Diff to
previous 1569
,
to
selected 8519
$MidnightBSD$
- Prefer clock_gettime(2) over gettimeofday(2) and use CLOCK_MONOTONIC
as it is only used to track elapsed time.[1]
- Fix compiler warnings and style(9) bugs.
consume kld_isloaded(3).
Fix a (very) longstanding bug in moused(8) affecting high-resolution
rodents when linear acceleration (-a) was enabled with a <1 value to
slow them down.
Previously, rounding errors would eat small movements so the mouse
had to be moved a certain distance to get any movement at all. We
now calculate the rounding errors and take them into account when
reporting movement.
Add dynamic acceleration to moused(8). This introduces a '-A' flag to
control the acceleration algorithm. It can be used together with the '-a'
flag for regular acceleration. [1]
Convert macros to use C99's syntax for macros with a variable number of
arguments.
Markup fixes to moused(8).
Obtained from: FreeBSD
Revision
1527 -
Directory Listing
-
[select for diffs]
Modified
Mon Apr 28 04:00:57 2008 UTC
(16 years, 1 month ago)
by
laffer1
Diff to
previous 1526
,
to
selected 8519
Cleanups for mailwrapper(8):
- K&R -> ANSI prototype [O]
- Do not bother to do free right before exit() or execve() [O]
- Remove some dead code in addarg()
- Make additional parameters specified in mailer.conf(5)
actually work and document the fact. [N]
- Avoid using __progname but instead use getprogname()
and setprogname() to provide more sensible messages. [O, N]
- Update $OpenBSD$ and $NetBSD$ to reflect the fact that we
have sync'ed with their code.
- WARNS=6
Improvements from FreeBSD, NetBSD and OpenBSD.
Revision
1202 -
Directory Listing
-
[select for diffs]
Modified
Sat Aug 18 07:37:09 2007 UTC
(16 years, 10 months ago)
by
laffer1
Diff to
previous 1201
,
to
selected 8519
$MidnightBSD$
Add PAM supoprt to cron. This will allow cron to skip commands by unavailable accounts depending on pam.conf for cron. This only effects personal crontabs and not /etc/crontab.
Also fix an issue with $HOME
Obtained from FreeBSD.
Revision
1175 -
Directory Listing
-
[select for diffs]
Modified
Fri Aug 10 00:44:49 2007 UTC
(16 years, 10 months ago)
by
laffer1
Diff to
previous 1174
,
to
selected 8519
Fix the logic bug that caused the custom versions of warn(3) and
warnx(3) to be compiled on systems that have it (e.g. FreeBSD),
while the intention was opposite, i.e., compile them on systems
that don't have them. Also fixes static linkage of pkg_sign(1).
Revision
1113 -
Directory Listing
-
[select for diffs]
Modified
Fri Jul 27 21:32:46 2007 UTC
(16 years, 10 months ago)
by
laffer1
Diff to
previous 1052
,
to
selected 8519
Let the fun begin.
Rebranded man page (mostly). There are still several errors and references to things like pesky alpha support.
Created a temporary hack to (hopefully) get BSD cpio working with the installation media. If this works, we'll need to make some adjustments as to not waste memory and/or replace the mediaBufferSize function with something that makes sense.
Revision
354 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 27 01:15:48 2006 UTC
(17 years, 5 months ago)
by
laffer1
Diff to
previous 320
,
to
selected 8519
Change burncd so that if CDRIOCGETPROGRESS does not return a good value, CDIOCRESET is used to determine when the command is complete.
This corrects a bug with some CD/DVD recorders working with rewritable media where they never complete.
Based on a patch by Luigi Rizzo on stable@freebsd.org.
Revision
117 -
Directory Listing
-
[select for diffs]
Modified
Thu Aug 24 00:18:42 2006 UTC
(17 years, 9 months ago)
by
laffer1
Diff to
previous 116
,
to
selected 8519
rdate's -c flag was not working as -DLEAPSECONDS was not used in the base system to maintain posix compliance. Instead, rdate was altered to read a "right" subdirectory just as openbsd does. In right, leapsecond versions of all the zones are built so that we can maintain legal time if needed.
Revision
46 -
Directory Listing
-
[select for diffs]
Modified
Fri Aug 4 17:10:41 2006 UTC
(17 years, 10 months ago)
by
laffer1
Diff to
previous 6
,
to
selected 8519
FreeBSD-SA6:13 and 14 were patched. The nis software and amd athlon fpu handling fixed. Changes to echo and pfctl are needed to fix compile bugs with changes related to cvs tags and macros.
Revision
3 -
Directory Listing
-
[select for diffs]
Added
Sat Feb 25 02:29:52 2006 UTC
(18 years, 3 months ago)
by
laffer1
Diff
to
selected 8519
This commit was generated by cvs2svn to compensate for changes in r2, which
included commits to RCS files with non-trunk default branches.