summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix build of libc.so after r232620. This caused a duplicate definitiondim2012-03-061-0/+6
| | | | | | of __getCurrentRuneLocale(). Pointy hat to: me
* Modify HWMP to be able to allocate memory for PREQ/PREP/PERR for all scenarios.adrian2012-03-063-69/+305
| | | | | | | | | | | | | | | * Added verify_mesh_*_len functions that verify the length according to the amendment spec and return number of destination addresses for allocation of appropriate struct size in memory; * Modified hwmp_recv_action_meshpath to allocate HWMP ie instead of storing them on the stack and store all available field according the flags; * Modify hwmp_add_mesh* to work with all cases of HWMP according to amendment. * Modify hwmp_send_* to calculate correct len of bytes for the HWMP ie. * Added new M_80211_MESH_* malloc defines. * Added macros with magic numbers for HWMP ie sizes according to amendment. * Added the external address to all HWMP ie structs. Submitted by: monthadar@gmail.com
* Add a note to clarify why we create a relocated copy of boot1 in lowerjhb2012-03-061-1/+4
| | | | memory.
* Remove unused file.jmallett2012-03-061-124/+0
|
* After r232498, programs built with -ansi or -std=c89 including <ctype.h>dim2012-03-062-3/+3
| | | | | | | | would not compile anymore, due to plain 'inline' keywords. Fix this by using __inline instead. Reported by: Jia-Shiun Li <jiashiun@gmail.com> Discussed with: theraven
* Disable the option VFS_ALLOW_NONMPSAFE by default on all the supportedattilio2012-03-069-22/+4
| | | | | | | | | | | | platforms. This will make every attempt to mount a non-mpsafe filesystem to the kernel forbidden, unless it is expressely compiled with VFS_ALLOW_NONMPSAFE option. This patch is part of the effort of killing non-MPSAFE filesystems from the tree. No MFC is expected for this patch.
* - Remove one more no-op #ifndefgonzo2012-03-061-2/+0
|
* At the risk of reducing source compatibility with old NetBSD and Sprite:jmallett2012-03-0610-489/+79
| | | | | | | | | | | | | | | | | | | | | o) Get rid of some unused macros related to features we don't intend to provide. o) Get rid of macro definitions for MIPS-I CPUs. We are not likely to support anything that predartes MIPS-III. o) Respell MIPS3_* macros as MIPS_*, which is how most of them were being used already. o) Eliminate a duplicate and mostly-unused set of exception vector macros. There's still considerable duplication and lots more obsolete in our headers, but this reduces one of the larger files to a size where one could reckon about the correctness of its contents with a mere few hours of contemplation. There is, of course, a question of whether we need definitions for fields, registers and configurations that we are unlikely to ever use or implement, even if they're not obsolete since 1991. FreeBSD is not a processor reference manual, and things that aren't used may be wrong, or may be duplicated because nobody could possibly actually know whether they're already defined.
* Provide wbwd(4), a driver for the watchdog timer found on variousbz2012-03-0611-0/+859
| | | | | | | | | | | | | Winbond Super I/O chips. With minor efforts it should be possible the extend the driver to support further chips/revisions available from Winbond. In the simplest case only new IDs need to be added, while different chipsets might require their own function to enter extended function mode, etc. Sponsored by: Sandvine Incorporated ULC (in 2011) Reviewed by: emaste, brueffer MFC after: 2 weeks
* Fix building with WITHOUT_INET_SUPPORT set.bz2012-03-061-2/+4
| | | | | Reviewed by: jamie (actually provided the real fix) MFC after: 3 days
* Properly mask off bits that are not supported in the IAP counters.gnn2012-03-061-1/+1
| | | | | | | This fixes a bug where users would see massively large counts, near to 2**64 -1, due to the bits not being cleared. MFC after: 3 weeks
* Use = rather than == for expressions to test(1) builtin(1) in sh(1) tobz2012-03-061-1/+1
| | | | | | | | | | comply with standards. On modern branches there is an undocumented alias (see r219084) but on stable/7 this is still an error. Sponsored by: Cisco Systems, Inc. MFC after: 3 days
* Add LUN resizing to CTL. Also make it possible to explicitly settrasz2012-03-0610-15/+441
| | | | | | | size when creating file-backed or device-backed LUN. Reviewed by: ken (earlier version) Sponsored by: The FreeBSD Foundation
* Remove some duplicated copyright notices.theraven2012-03-062-10/+0
| | | | Approved by: dim (mentor)
* Remove if_watchdog remnants after if_timer/if_watchdog removal in r199975.pluknet2012-03-061-2/+0
| | | | | | This part was missed in r199992. MFC after: 1 week
* Make racct and rctl correctly handle jail renaming. Previouslytrasz2012-03-063-8/+84
| | | | | | they would continue using old name, the one jail was created with. PR: bin/165207
* Fix a typo: use lower case in "A Shorthand".pluknet2012-03-061-1/+1
| | | | Noted by: maxim
* Kill EoL whitespaces.pluknet2012-03-061-5/+5
|
* Cosmetic nit:pluknet2012-03-061-10/+10
| | | | | | - rename isspace1() macro to the more appropriate rtld_isspace(). Discussed with: kib
* The missing part of r232588 that documents ifaddr_byindex() itself.pluknet2012-03-061-0/+4
| | | | MFC after: 1 week
* - ifnet_addrs has gone and replaced by ifaddr_byindex(), as per r83130pluknet2012-03-061-5/+16
| | | | | | - access to the AF_LINK address through if_addrhead is deprecated (r128315) MFC after: 1 week
* Garbage collect some unused symbols.jmallett2012-03-061-8/+0
|
* Make the native sigreturn just wrap set_mcontext, much as freebsd32_sigreturnjmallett2012-03-061-34/+5
| | | | does.
* Store TLS base in the sigframe just as is done in freebsd32_sendsig. Becausejmallett2012-03-061-0/+1
| | | | | | | the native sigreturn doesn't use set_mcontext like the COMPAT_FREEBSD32 version does, this wouldn't actually result in overwriting the TLS base. Probably it makes sense to restructure the native sigreturn to use set_mcontext for consistency, and to allow sigreturn to change the TLS base.
* Fix two and a half oversights in COMPAT_FREEBSD32 related to contexts andjmallett2012-03-062-3/+4
| | | | | | | | | | | | | TLS: o) The mc_tls field used to store the TLS base when doing context gets and restores was left a pointer and not converted to a 32-bit integer. This had the bug of not correctly capturing the TLS value desired by the user, and the extra nastiness of making the structure the wrong size. o) The mc_tls field was not being saved by sendsig. As a result, the TLS base would always be set to NULL when restoring from a signal handler. Thanks to gonzo for helping track down a bunch of other TLS bugs that came out of tracking these down.
* When emulating rdhwr for TLS, use the 32-bit offset under COMPAT_FREEBSD32.jmallett2012-03-062-0/+12
|
* - Switch ARM and MIPS to TLS Variant Igonzo2012-03-061-3/+10
| | | | | | - Fix TLS allocation for Variant I: both rtld and libc allocators assume that tls_static_space includes space for TLS structure. So increment calculated static size by the size of it.
* Implement _set_tpgonzo2012-03-061-0/+4
|
* - Remove NOSHARED parts since it seems to be no-opgonzo2012-03-061-4/+3
| | | | - Call _init_tls for statically linked binaries
* - Switch to saving non-offseted pointer to TLS block in order too keep ↵gonzo2012-03-061-8/+4
| | | | things simple
* - Switch to saving non-offseted pointer to TLS block in order too keep ↵gonzo2012-03-062-17/+4
| | | | things simple
* Prepare for large TLS redo. Save pointer to the beginning of TLS area,gonzo2012-03-063-20/+51
| | | | | | and offset it only if requested by RDHWR handler. Otherwise things get overly complicated - we need to track whether address passsed in request for setting td_md.md_tls is already offseted or not.
* In the trap messages that aid the primitive debugging environment of MIPS,jmallett2012-03-061-6/+14
| | | | | include the tid as well, so it's easier to tell which thread of a process with multiple is responsible for a crash.
* Link EV_SET(3) to kqueue(2).pjd2012-03-051-1/+1
| | | | MFC after: 3 days
* The libmap.conf initialization is performed before TLS is functional.kib2012-03-051-10/+15
| | | | | | | | | | | | | Since after r232498 the ctype macros require working access to thread-local variables, rtld crashes when libmap.conf is present. Use hand-made isspace1() macro which is enough to detect spaces in libmap.conf. Reported by: alc, lme, many on current@ Tested by: lme Reviewed by: dim, kan MFC after: 1 week
* Actually bump date, sigh.pluknet2012-03-051-1/+1
|
* Fix boot2 to handle boot config files that only contain a custom path tojhb2012-03-051-6/+15
| | | | | | | | | | | | a loader or kernel. Specifically, kname cannot be pointed at cmd[] since it's value is change to be an empty string after the initial call to parse, and cmd[]'s value can be changed (thus losing a prior setting for kname) due to user input at the boot prompt. While here, ensure that that initial boot config file text is nul-terminated, that ops is initialized to zero, and that kname is always initialized to a valid string. Tested by: Domagoj Smolcic rank1seeker of gmail MFC after: 1 week
* Fix three instances of a missing word.jhb2012-03-051-3/+3
| | | | Submitted by: bjk
* Fix few style nits.jkim2012-03-052-2/+2
|
* Fix typo. Bump .Dd for the previous change.pluknet2012-03-051-1/+1
|
* Make growfs(8) mostly style compliant. No functional changes,trasz2012-03-052-616/+457
| | | | verified with MD5.
* Print out process name and thread id in the debugging message.ivoras2012-03-051-2/+3
| | | | | | | This is useful because the message can end up in system logs in non-debugging operation. Reviewed by: attilio (earlier version)
* Apply inlined vn_vget_ino() algorithm for ".." lookup in pseudofs.kib2012-03-051-5/+32
| | | | | Reported and tested by: pho MFC after: 2 weeks
* Add DWC OTG module to ARM builds.hselasky2012-03-052-1/+46
| | | | MFC after: 1 week
* Fix for DWC OTG interrupt register programming.hselasky2012-03-053-22/+44
| | | | | | | Fix a compiler warning. Add missing header file. MFC after: 1 week
* Fix ng_ipfw(4) cookie number in example.glebius2012-03-051-2/+2
| | | | Pointed out by: "Jacco van Buuren" <jaccovanbuuren gmail.com>
* Make the chroot shell more functional by providing devfs.nwhitehorn2012-03-051-0/+1
| | | | | Reported by: Robert Simmons MFC after: 4 days
* Oops - used the wrong field.adrian2012-03-051-1/+1
| | | | Noticed by: nwhitehorn
* Add the thread id to the net80211 alq records.adrian2012-03-042-1/+4
| | | | This will (hopefully) aid in debugging concurrency related issues.
* Fix style(9) issues.adrian2012-03-041-10/+12
|
OpenPOWER on IntegriCloud