summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Improve "top" header by:fabient2010-04-024-13/+59
| | | | | - Display sample received per PMCs (or merged PMCs). - Display percentage vs all samples
* - Support for uncore counting events: one fixed PMC with the uncorefabient2010-04-0220-989/+8663
| | | | | | | | | | | | domain clock, 8 programmable PMC. - Westmere based CPU (Xeon 5600, Corei7 980X) support. - New man pages with events list for core and uncore. - Updated Corei7 events with Intel 253669-033US December 2009 doc. There is some removed events in the documentation, they have been kept in the code but documented in the man page as obsolete. - Offcore response events can be setup with rsp token. Sponsored by: NETASQ
* Change how getent utmpx works.ed2010-04-021-6/+8
| | | | | - Always require active, log or lastlogin to be provided. - Allow the user to provide custom filenames.
* - Try do deal gracefully with correctable ECC errors.marius2010-04-021-6/+52
| | | | - Improve the reporting of unhandled kernel and user traps.
* WITH_CTF can now be specified in src.conf (not recommended, therenetchild2010-04-0210-118/+92
| | | | | | | | | | | | | | | | | | | | | | are some problems with static executables), make.conf (would also affect ports which do not use GNU make and do not override the compile targets) or in the kernel config (via "makeoptions WITH_CTF=yes"). Additional (related) changes: - propagate WITH_CTF to module builds - do not add -g to the linker flags, it's a noop there anyway (at least according to the man page of ld) - do not add -g to CFLAGS unconditionally we need to have a look if it is really needed (IMO not) or if there is a way to add it only when WITH_CTF is used Note: ctfconvert / ctfmerge lines will not appear in the build output, to protect the innocent (those which do not build with WITH_CTF would see the shell-test and may think WITH_CTF is used). Reviewed by: imp, jhb, scottl (earlier version) Discussed on: arch@
* Re-apply r205683 with some modifications:netchild2010-04-021-15/+23
| | | | | | | | | | Fix some bogus values in linprocfs. Submitted by: Petr Salinger <Petr.Salinger@seznam.cz> Verified on: GNU/kFreeBSD debian 8.0-1-686 (by submitter) PR: 144584 Reviewed by / discussed with: kib, des, jhb, submitter
* For the experimental NFS server, add a call to free the lookuprmacklem2010-04-021-0/+1
| | | | | | | | | path buffer for one case where it was missing when doing mkdir. This could have conceivably resulted in a leak of a buffer, but a leak was never observed during testing, so I suspect it would have occurred rarely, if ever, in practice. MFC after: 2 weeks
* Add SAVENAME to the cn_flags for all cases in the experimentalrmacklem2010-04-021-3/+5
| | | | | | | | | | NFS server for the CREATE cn_nameiop where SAVESTART isn't set. I was not aware that this needed to be done by the caller until recently. Tested by: lampa AT fit.vutbr.cz (link case) Submitted by: lampa AT fit.vutbr.cz (link case) MFC after: 2 weeks
* Remove _LARGEFILE64_SOURCE==1 case which is supposed to be always falsedelphij2010-04-011-1/+1
| | | | | | on FreeBSD. Pointed out by: dougb
* For now, hardcode FreeBSD configuration that will never change on zlib.h:delphij2010-04-011-25/+0
| | | | unifdef -D_FILE_OFFSET_BITS=64 -U_LFS64_LARGEFILE -U_LARGEFILE64_SOURCE
* Specify the parameter in the format_k2 prototype.brucec2010-04-011-1/+1
| | | | | | This fixes top on ARM, which assumes that format_k2 takes an int. Approved by: rrs (mentor)
* Oops! Wrong copy-paste in r206053.mav2010-04-011-1/+1
|
* Fill extended ATA command registers in cPRD to support 48bit commands.mav2010-04-011-0/+5
|
* We don't need to note that mkproto is missing anymore. It isimp2010-04-011-1/+0
| | | | | definitely OBE in a number of ways, and likely should have been removed in 2000, not 2010.
* IOCPARM_MAX defines maximum size of a structure that can be passedpjd2010-04-011-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | directly to ioctl(2). Because of how ioctl command is build using _IO*() macros we have only 13 bits to encode structure size. So the structure can be up to 8kB-1. Currently we define IOCPARM_MAX as PAGE_SIZE. This is IMHO wrong for three main reasons: 1. It is confusing on archs with page size larger than 8kB (not really sure if we support such archs (sparc64?)), as even if PAGE_SIZE is bigger than 8kB, we won't be able to encode anything larger in ioctl command. 2. It is a waste. Why the structure can be only 4kB on most archs if we have 13 bits dedicated for that, not 12? 3. It shouldn't depend on architecture and page size. My ioctl command can work on one arch, but can't on the other? Increase IOCPARM_MAX to 8kB and make it independed of PAGE_SIZE and architecture it is compiled for. This allows to use all the bits on all the archs for size. Note that this doesn't mean we will copy more on every ioctl(2) call. No. We still copyin(9)/copyout(9) only exact number of bytes encoded in ioctl command. Practical use for this change is ZFS. zfs_cmd_t structure used for ZFS ioctls is larger than 4kB. Silence on: arch@ MFC after: 1 month
* Remove alignment constraints.mav2010-04-011-11/+11
|
* Remove alignment constraints.mav2010-04-011-4/+5
|
* Regenerate manual pages for OpenSSL 0.9.8n.simon2010-04-01277-277/+277
|
* - Make it slightly simpler to update OpenSSL version informationsimon2010-04-011-1/+6
| | | | | | | | for regenerating OpenSSL manual pages. - Explicitly set the OpenSSL release date so manual pages contain the date OpenSSL was released and not just the date OpenSSL was imported into the FreeBSD base system. - Update for Makefile for OpenSSL 0.9.8n.
* Merge OpenSSL 0.9.8n into head.simon2010-04-0128-37/+115
| | | | | | | | | | | This fixes CVE-2010-0740 which only affected -CURRENT (OpenSSL 0.9.8m) but not -STABLE branches. I have not yet been able to find out if CVE-2010-0433 impacts FreeBSD. This will be investigated further. Security: CVE-2010-0433, CVE-2010-0740 Security: http://www.openssl.org/news/secadv_20100324.txt
* Various fixes.flz2010-04-019-52/+86
| | | | | | | | | | | | | | | | - Replace hardcoded INDEX version. [1] - Fix a buffer overlap. [2] - Remove empty package when fetching fails and -K is used. [3] - Remove useless chmod2() after mkdtemp(3). [4] - Replace mkdir(1) call with mkdir(2). [5] - Get rid of some vsystem() calls. - Switch from lstat(2) to open(2) in fexists(). - Try rename(2) in move_file() first. - Bump PKG_INSTALL_VERSION to 20100401. PR: bin/145101 [1], bin/139492 [2], bin/144919 [3] bin/144920 [4], bin/144921 [5] Submitted by: gcooper [1,2,3,4,5]
* Forgot to initialize the debug variable.des2010-04-011-1/+1
| | | | MFC after: 2 weeks
* Add -k to the recommended fingerd(8) command line.des2010-04-011-2/+2
| | | | MFC after: 2 weeks
* Add a debugging option (-d)des2010-04-012-12/+47
| | | | | | Add a -k option which fingerd(8) passes through to finger(1). MFC after: 2 weeks
* - Add my birthday to the calendardecke2010-04-011-0/+1
| | | | Approved by: miwi (mentor), beat (co-mentor)
* - Add myself to the ports committer listdecke2010-04-011-0/+4
| | | | Approved by: miwi (mentor), beat (co-mentor)
* Fix the gap between mute and lowest possible volume. The es1370 mixerjoel2010-04-011-2/+2
| | | | | | | | | | | volumes were incorrectly calculated. I've tested this with one of my es1370 cards and I can confirm that it works. PR: 98167 Submitted by: Joseph Terner <jtsn@gmx.de> Approved by: kib
* Remove alignment constraints.mav2010-04-011-8/+11
|
* Add a couple missing basic mode page codes.mjacob2010-04-011-0/+2
| | | | MFC after: 1 week
* The ALQ should not be considered drained until it has been made inactive.lstewart2010-04-011-1/+1
| | | | | | | Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo, rwatson (as part of a larger patch) Approved by: kmacy (mentor) MFC after: 1 month
* According to SLEEP(9), msleep() is deprecated in favour of mtx_sleep().lstewart2010-04-011-3/+3
| | | | | | | Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo, rwatson (as part of a larger patch) Approved by: kmacy (mentor) MFC after: 1 month
* - Factor code to destroy an ALQ out of alq_close() into a private alq_destroy().lstewart2010-04-011-17/+20
| | | | | | | | | - Use the new alq_destroy() to properly handle a failure case in alq_open(). Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo, rwatson (as part of a larger patch) Approved by: kmacy (mentor) MFC after: 1 month
* The POLL code was missed in the queue conversion,jfv2010-03-311-8/+9
| | | | | | | change the argument type to igb_rxeof() to the correct type. Note, any users of POLLING must be sure and set the number of queues to 1 for things to work correctly.
* Add definition of IPv6 mobility header's protocol number, as assigned bydelphij2010-03-311-0/+1
| | | | | | IANA and defined in RFC 3775. Obtained from: KAME
* Remove some more alignment constraints.mav2010-03-312-7/+8
|
* Use device_get_nameunit(9) rather than device_get_name(9) so one canmarius2010-03-312-5/+5
| | | | identify the reporting bridge in machines with multiple PCI domains.
* Don't re-implement device_get_nameunit(9).marius2010-03-311-14/+10
|
* - Take advantage of the INTCLR_* macros.marius2010-03-314-23/+23
| | | | - Right-justify the backslashes as per style(9).
* Make ng_ksocket fulfill lower protocol stack layers alignment requirementsmav2010-03-311-1/+13
| | | | | | | on platforms with strict alignment constraints. This fixes kernel panics on arm and probably other architectures. PR: sparc64/80410
* Make ng_l2tp irrelevant to data alignment.mav2010-03-311-15/+31
|
* Update to 1.2.4.1 (beta).delphij2010-03-3114-66/+78
|
* Hook the identification LEDs of igb(4), lem(4) and em(4) devices up withmarius2010-03-316-3/+85
| | | | | | | | led(4) so they can be lit or f.e. made blink via `echo f2 > /dev/led/em0` for localization purposes. Approved by: jfv MFC afer: 1 week (after r205869)
* Make ng_ppp fulfill upper protocol stack layers alignment requirementsmav2010-03-311-0/+14
| | | | | | | on platforms with strict alignment constraints. This fixes kernel panics on arm and probably other architectures. PR: sparc64/80410
* ng_gif depends on gif.mav2010-03-311-3/+3
|
* If there is multiple PMCs for the same interrupt ignore new post.fabient2010-03-311-3/+5
| | | | | | | This will indirectly fix a bug where the thread will be pinned forever if the assert is not compiled. MFC after: 3days
* Add prototype for libc internal interfaces.delphij2010-03-312-0/+4
|
* Add prototypes for libc private interfaces.delphij2010-03-311-5/+9
| | | | | | While I'm there, apply __unused whenever appropriate. Reviewed by: md5(1)
* Sync fortunes with other *BSDsuqs2010-03-317-1342/+1311
| | | | | | | | | | | | | | | | | | | | | | | - Spelling errors - Typographical fixes - Consistent attributions - Use Jr. more consistently - Capitalization of dictionary-like entries - Sorting using tools/do_sort - Remove duplicate fortunes - Style according to the Notes file - Reflect correct default fortune name in Notes - Remove some no longer needed spelling hints - Drop latin1 characters (sorry MÃ¥rten) This is a partial sync against the DragonflyBSD sources, where a lot of fixes from Free, Net and OpenBSD were merged previously. Only about 50% of the changes originate from there, the rest was done by dougb and yours truly. Partial review by: wilko (earlier version), ed (dito) In collaboration with: dougb Approved by: ed (co-mentor)
* Two fixes:imp2010-03-311-15/+2
| | | | | | | | | | (1) We don't need a custom install_kernel. We can install without symbols by adding INSTALL_NODEBUG (which likely should be WITHOUT_KERNEL_SYMBOLS_FILE, or something shorter) to CONF_INSTALL (2) for make buildenv stage, use NANO_MAKE_CONF_BUILD rather than the non-existant NANO_MAKE_CONF. MFC after: 7 days
* For unhandled actions in xpt_action_default, remember to callmjacob2010-03-311-2/+5
| | | | | | | | | | xpt_done for queued requests. This solves the problem of indefinite hangs for unspecified transports when XPT_SCAN_BUS is called. A few minor cosmetics elsewhere. MFC after: 1 week
OpenPOWER on IntegriCloud