Instead malloc() some memory and copy the sockaddr returned there.
Fix a bug where after a blocked lock gets granted, the grant message would
be sent to the wrong machine (or possibly to a completely bogus address).
While there, add a NULL check for the return value of another malloc().
Add the ability to pkg_info(1) and pkg_delete(1) to take a directory
name for the name of the package, so that shell-completion can help
when finding out information or deleting packages.
the pointer to /etc/shells is pointing to the second entry. This change
resets the pointer before looping through the file again. FreeBSD does
this as well. Commit approved by christos and thanks to Geoff Adams for
catching and reporting it.
category (since they're listed in the misc/mi set list), rather than
a system package under base.
Add a comment and a description for the new system package.
+ use "uname -r" if osrelease.sh isn't available
+ if SYSPKG_DATES is set in the environment, use the date for the
version. For some reason, this is controversial, so the default is
to use NetBSD kernel versions. Re-instate the code to calculate the
date, but only use it if the date cannot be gleaned from the RCS Ids
of the constituent parts.
+ re-work the versions file, since it was committed in an incomplete
state - there were version numbers without package names in there.
Instead, get the version number by exception - i.e. assume it's "0"
unless specified in the versions file. This means less independent
maintenance when a kernel version number is bumped, and less
duplication of work (since any new system packages will now have the
correct version number by default)
+ lose the section which duplicated the calculation of "tiny version"
which was never used (and which didn't work correctly)
This may work with one PPPoE session.
If you want to use it, #define PPPOE_SERVER in somewhere,
or add options PPPOE_SERVER in kernel config file.
This is experimental code, and good start point for future development.
the kernel is missing the newline at the end of the file, the string
doesn't get closed properly, resulting in a message from the compiler
about a missing #endif. It's somewhat misleading, so config will now
point it out and compensate for the missing newline.
Addresses PR kern/21920: including kernel config fails in some cases.
still possible for multiple threads to write into the same space, but
they shouldn't be able to corrupt the write pointer in the process.
Also, check for pointer-lapping a bit more carefully in the wrap
vs. non-wrap case.
Use swapctl() for all swap operations.
Remove md_upgrade_mbrtype() from arc and hpcmips ports.
(I haven't finalised what I'm doing about type 165 partitions, but the
existing code is borked.)