summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a TASK_INITIALIZER() macro that can be used to staticallyjhb2011-12-193-1/+14
| | | | | | | initialize a task structure. Reviewed by: gj MFC after: 2 weeks
* In usr.sbin/timed, fix several issues with printf formats:dim2011-12-194-9/+9
| | | | | | | | | | - Cast time_t's to long, and print them with %ld. - Print ptrdiff_t's with %td. - Print ssize_t's and size_t's with %zd and %zu. - Print int32_t's with %d. Also, replace some int variables with the more appropriate size_t. MFC after: 1 week
* In contrib/tcpdump/print-icmp6.c, fix a problem where the comparisondim2011-12-191-8/+7
| | | | | | | | against icmp6_hdr::icmp6_type is done incorrectly. (This fix has already been applied upstream, but we do not have the latest version of tcpdump.) MFC after: 1 week
* Use NO_WCAST_ALIGN for usr.bin/hastctl and usr.bin/hastd; the alignmentdim2011-12-192-0/+2
| | | | | | | warnings in sbin/hastd/lzf.c are only emitted for i386 and amd64, and there they can be safely ignored. MFC after: 1 week
* Add code to wait for USB shutdown to be executed at system shutdown.hselasky2011-12-191-1/+15
| | | | | | Add sysctl which can be used to skip this waiting. MFC after: 3 days
* opensolaris compat: fix vcmn_err so that panic(9) produces a proper messageavg2011-12-191-8/+14
| | | | | | | ... instead of just a verbatim format string. Reviewed by: pjd MFC after: 1 week
* Add missing unlock of USB controller's lock, whenhselasky2011-12-191-0/+12
| | | | | | | doing shutdown, suspend and resume. Suggested by: avg @ MFC after: 3 days
* In usr.bin/vacation/Makefile, fix a typo in the comment about clangdim2011-12-191-1/+1
| | | | | | | warnings. Spotted by: arundel MFC after: 1 week
* Unfortunately, clang gives warnings about sendmail code that cannot bedim2011-12-191-0/+7
| | | | | | | turned off yet. Since this is contrib code, and we don't really care about the warnings, just turn make them non-fatal for now. MFC after: 1 week
* Remove if_carp.ko. /boot/kernel should be upgraded atomically.glebius2011-12-191-2/+0
| | | | Requested by: netchild, bz
* Unbreak the build after r228697 adding the { } block to make clear whichbz2011-12-191-1/+2
| | | | if the else belongs to.
* o Convert IPv6 read-only stats sysctls to the read-write ones.maxim2011-12-193-11/+17
| | | | | | | | | o Teach netstat(1) -z to reset these stats sysctls. PR: bin/153206 Reviewed by: glebuis Sponsored by: NGINX, Inc. MFC after: 1 month
* o Sort .Xrs.maxim2011-12-191-2/+2
|
* Repair breakage after r228697: since m4 now uses pow(3), it needs -lm.dim2011-12-181-1/+1
| | | | Pointy hat to: bapt
* Reimplement support for the ** (exponent) gnu extension, make it available ↵bapt2011-12-183-2/+10
| | | | | | | | thought the -g (mimic gnu) option Reviewed by: cognet Approved by: cognet Discussed with: espie@OpenBSD.org (upstream)
* Use lex's standard way of not generating unused function.pjd2011-12-182-3/+3
| | | | | Inspired by: r228555 MFC after: 1 week
* Don't use function name as format string.pjd2011-12-181-1/+1
| | | | | Detected by: clang MFC after: 1 week
* Fix compilation on sparc64 by actually supplying the bus_dma_tag_t membermarius2011-12-181-1/+1
| | | | | | | | of the rx_ring to bus_dmamap_sync(9). Given that netmap code tries to obtain the bus addresses of netmap buffers via vtophys(9) instead of using bus_dma(9) it currently has zero chance of actually working on sparc64 though (and for that matter f.e. also not with MACs limited to 32-bit DMA on x86 machines with more than 4GB of RAM).
* Revert r228603, and add the workaround to sbin/fsdb/Makefile instead.dim2011-12-182-3/+6
| | | | MFC after: 1 week
* Upgrade to OpenPAM Lycopsida.des2011-12-18159-26261/+27403
|\
| * Vendor import of OpenPAM Lycopsida.des2011-12-18158-26267/+27411
| |
| * Merge upstream r432:des2010-03-221-2/+1
| | | | | | | | | | | | pam_end() already contains a NULL check, and it is not unreasonable to call it with a NULL pamh in a cleanup / error-handling situation. Remove OPENPAM_NONNULL, which may cause gcc to optimize away the NULL check.
| * Merge upstream r421: grammar nit in pam.conf(5).des2009-10-091-1/+1
| |
| * Merge upstream r418: remove static build autodetection.des2008-12-131-8/+7
| |
| * Flatten and clean up.des2008-12-13159-0/+0
| |
* | Support infrastructure for X11 on PS3.nwhitehorn2011-12-184-8/+49
| | | | | | | | | | Submitted by: geoffrey dot levand at mail dot ru MFC after: 1 week
* | Add version header to output file.nwhitehorn2011-12-181-0/+1
| |
* | Use FOREACH_PROC_IN_SYSTEM instead of using its unrolled form.pluknet2011-12-181-1/+1
| | | | | | | | Reviewed by: kib
* | From time to time people report space map corruption resulting in panicpjd2011-12-181-1/+25
| | | | | | | | | | | | | | | | | | | | | | (ss == NULL) on pool import. I had such a panic recently. With current version of ZFS it is still possible to import the pool in readonly mode and backup all the data, but in case it is impossible for some reason add tunable vfs.zfs.space_map_last_hope, which when set to '1' will tell ZFS to remove colliding range and retry. This seems to have worked for me, but I consider it highly risky to use. MFC after: 1 week
* | Implement replying of ACLs updates. ACL changes should go to ZIL onlypjd2011-12-182-13/+16
| | | | | | | | | | | | if the 'sync' property is set to 'always', so replying them is not common. MFC after: 1 month
* | Forgot to add usr.sbin/sade/label.c in the previous commit.dim2011-12-181-1/+1
| | | | | | | | MFC after: 1 week
* | In usr.sbin/sade/install.c and usr.sbin/sade/label.c, fix a few warningsdim2011-12-181-2/+2
| | | | | | | | | | | | about format strings not being literals. MFC after: 1 week
* | In usr.sbin/sa/db.c, avoid warnings about assigning two const chardim2011-12-181-2/+2
| | | | | | | | | | | | arrays to non-const void pointers, by casting away const explicitly. MFC after: 1 week
* | In usr.sbin/rpc.ypupdated/yp_dbupdate.c, since intmax_t is signed, justdim2011-12-181-1/+1
| | | | | | | | | | | | | | like time_t, better use %jd instead of %ju. Strangely enough, neither gcc, clang nor gcc 4.6 warn about this discrepancy... MFC after: 1 week
* | In usr.sbin/rpc.ypupdated/yp_dbupdate.c, include stdint.h, so intmax_tdim2011-12-181-0/+1
| | | | | | | | | | | | | | is known, otherwise it won't build. Pointy hat to: dim MFC after: 1 week
* | In usr.sbin/rpc.ypupdated/yp_dbupdate.c, use the appropriate printfdim2011-12-181-1/+1
| | | | | | | | | | | | length modifier for time_t (after casting it to intmax_t). MFC after: 1 week
* | Disable another clang warning (-Wempty-body) when WARNS <= 2.dim2011-12-181-1/+1
| | | | | | | | MFC after: 1 week
* | Disable yet another clang warning (-Wconversion) when WARNS <= 3.dim2011-12-181-1/+2
| | | | | | | | MFC after: 1 week
* | In usr.sbin/route6d/route6d.c, use the correct printf length modifierdim2011-12-181-1/+1
| | | | | | | | | | | | for an ssize_t. MFC after: 1 week
* | In usr.sbin/pw/pw_user.c, use the correct printf length modifier for adim2011-12-171-1/+1
| | | | | | | | | | | | ptrdiff_t. MFC after: 1 week
* | In contrib/pnpinfo/pnpinfo.c, remove an extraneous parameter from thedim2011-12-171-1/+1
| | | | | | | | | | | | call to isolation_protocol(). MFC after: 1 week
* | In usr.sbin/pmccontrol/pmccontrol.c, fix a few warnings about formatdim2011-12-171-2/+2
| | | | | | | | | | | | strings not being literals. MFC after: 1 week
* | In usr.sbin/pkg_install/updating/main.c, use the size of the destinationdim2011-12-171-2/+2
| | | | | | | | | | | | buffer as size argument to strlcpy(), not the length of the source. MFC after: 1 week
* | du: Allow multiple -HLP options, the last one wins.jilles2011-12-172-20/+17
| | | | | | | | | | | | | | This matches 4.4BSD tradition and other utilities with these options and is required by POSIX (POSIX does not specify -P, only -HL). MFC after: 2 weeks
* | Revert r228650, and work around the clang false positive with printfdim2011-12-172-1/+6
| | | | | | | | | | | | | | formats in usr.bin/netstat/atalk.c by conditionally adding NO_WFORMAT to the Makefile instead. MFC after: 1 week
* | In usr.bin/csup/auth.c, cast time_t to intmax_t instead, and use thedim2011-12-171-2/+2
| | | | | | | | | | | | | | corresponding printf length modifier. Requested by: mdf MFC after: 1 week
* | Fix style and white spaces.trociny2011-12-171-14/+14
| | | | | | | | MFC after: 1 week
* | Use NO_WCAST_ALIGN for usr.sbin/ndiscvt; because this is only built fordim2011-12-172-0/+2
| | | | | | | | | | | | | | x86, any alignment warnings can be safely ignored. Define YY_NO_INPUT in usr.sbin/ndiscvt/inf-token.l, so no unused lex functions are defined. MFC after: 1 week
* | In usr.sbin/lpr/lpd/printjob.c, use the correct printf length modifiersdim2011-12-171-2/+4
| | | | | | | | | | | | for off_t (aka int64_t). MFC after: 1 week
* | In usr.sbin/lpr/filters/lpf.c, use a less obtuse way of clearing thedim2011-12-171-1/+2
| | | | | | | | | | | | buffer, that also avoids warnings. MFC after: 1 week
OpenPOWER on IntegriCloud