Andrey A. Chernov
322627150d
Prepare for upcoming POSIXed putenv() rewrite:
...
don't allow putenv() arg be on the stack, use strdup()
2007-04-30 13:07:33 +00:00
Hidetoshi Shimokawa
5cc9512ae2
MFp4: Fix typo in recv spd.
...
MFC after: 1 week
2007-04-30 12:55:03 +00:00
Andrey A. Chernov
8673ed1565
Slightly tune previous fix: free memory if !export
2007-04-30 12:54:02 +00:00
Andrey A. Chernov
9e461e53cc
Prepare for upcoming POSIXed putenv() rewrite:
...
don't free memory after putenv()
2007-04-30 12:51:02 +00:00
Andrey A. Chernov
2efaac818f
Prepare for upcoming POSIXed putenv() rewrite:
...
don't free memory after putenv()
2007-04-30 12:44:04 +00:00
Hidetoshi Shimokawa
6b3ecf71ea
MFp4: Add a sysctl knob to disable cycle master mode and add some comments.
...
MFC after: 1 week
2007-04-30 12:38:50 +00:00
Hidetoshi Shimokawa
78b1168bd8
MFp4: remove unused fw_asybusy().
...
MFC after: 1 week
2007-04-30 12:30:21 +00:00
Andrey A. Chernov
f03351ff2a
Prepare for upcoming POSIXed putenv() rewrite:
...
don't allow putenv() arg be on the stack, replace putenv() with setenv()
2007-04-30 12:27:58 +00:00
Maxim Konovalov
4063583a62
o Fill the list of icmp types; make its size depend on ICMP_MAXTYPE.
...
o Print "unknown ICMP" instead of "(null)" if we don't have a description for a icmp type.
Based on code
Submitted by: Christoph Weber-Fahr
PR: misc/112126
MFC after: 2 weeks
2007-04-30 12:27:04 +00:00
Hidetoshi Shimokawa
89cad4614f
MFp4: Simplify tlabel handling
...
- Remove struct tl_label and runtime malloc() for it.
- Include tl_lable list in struct fw_xfer.
- Don't free unallocated tlabel.
MFC after: 1 week
2007-04-30 12:26:29 +00:00
Andrey A. Chernov
7071e63df7
Put some safeguards:
...
1) Under POSIX unsetenv("foo=bar") is explicit error and not equal
to unsetenv("foo")
2) Prepare for upcomig POSIXed putenv() rewrite: make putenv() calls
portable and conforming to standard.
2007-04-30 11:44:42 +00:00
Hidetoshi Shimokawa
ad9cf50615
Initialize configuration ROM before a bus reset.
...
MFC: after 3 days
2007-04-30 10:50:53 +00:00
Thomas Quinot
057f398585
(atapi_action, case XPT_SCSI_IO): Enable DMA only for READ and WRITE commands
...
as some combinations of chipset, controller and target do not behave
correctly when DMA is enabled for other commands.
PR: kern/103602
MFC after: 2 weeks
2007-04-30 09:33:57 +00:00
Thomas Quinot
e651554bf6
(atapi_cb): Fix test for the presence of sense data. An incorrect condition
...
was being tested, which would result in a system hang in some configurations.
PR: kern/112119
Reviewed by: scottl
MFC after: 3 days
2007-04-30 09:26:43 +00:00
Andrey A. Chernov
97e49dd4b5
Eliminate error with -W* strict flags and make putenv() calls conforming to
...
standard and portable in the same way as f.e. gcc internal portable code does.
2007-04-30 05:14:29 +00:00
Andrey A. Chernov
7c450364bc
Eliminate error with -W* strict flags and make putenv() calls conforming to
...
standard in the same way as f.e. gcc internal portable code does.
2007-04-30 04:29:17 +00:00
Andrey A. Chernov
00f8652278
Remove special case skipping initial '=' of the setenv() value "for
...
compatibility with the different environment conventions" (man page).
With the standards, we don't have them different anymore and
IEEE Std 1003.1-2001 says that
"The values that the environment variables may be assigned are not
restricted except that they are considered to end with a null byte"
2007-04-30 03:47:31 +00:00
Andrey A. Chernov
86580aa6fc
Fix unsetenv and putenv prototypes to conform Open Group specs Issue 6
...
(also IEEE Std 1003.1-2001)
2007-04-30 02:27:43 +00:00
Andrey A. Chernov
bdda893471
Make setenv, putenv, getenv and unsetenv conforming to Open Group specs
...
Issue 6 (also IEEE Std 1003.1-2001) in following areas:
args, return, errors.
Putenv still needs rewriting because specs explicitly says that
altering passed string later should change the environment (currently we
copy the string so can't provide that).
2007-04-30 02:25:02 +00:00
Pawel Jakub Dawidek
2f51d93626
- Define d_type for ".", ".." and ".zfs" directories.
...
- Add a TODO comment where d_type is still noe defined.
2007-04-29 23:28:07 +00:00
Pawel Jakub Dawidek
b9f28e4a35
Oops, correct important typo in last commit.
2007-04-29 23:12:00 +00:00
Pawel Jakub Dawidek
2c965e1956
Avoid freeing NULL pointer in case of an error.
2007-04-29 23:08:24 +00:00
Pawel Jakub Dawidek
a5fbf7ac1f
Add missing links and sort.
2007-04-29 21:38:25 +00:00
David Malone
3e6dcadf52
Change the date for Daylight Savings in the US.
...
PR: 111102
Submitted by: Sean Farley <sean-freebsd@farley.org>
Obtained from: OpenBSD
2007-04-29 20:03:06 +00:00
John-Mark Gurney
bc95681198
Document requirements to calling rman_init... (Hmmm, maybe we should make
...
these areguments to rman_init?)
MFC after: 1 week
2007-04-29 19:46:33 +00:00
Daniel Eischen
90af05a9bf
Don't enable symbol versioning for librt by default just yet.
2007-04-29 17:08:13 +00:00
Robert Watson
69c4d690b1
Don't expose #ifdef NOTYET parts to userspace via audit_ioctl.h, just
...
remove them, since the functionality they are associated with isn't there
yet.
MFC after: 3 days
2007-04-29 16:20:32 +00:00
Alexander Kabaev
15c096778f
Make sure FBSDprivate_1.0 is located at the end of the version
...
inheritance chain.
2007-04-29 16:14:17 +00:00
Alexander Kabaev
effa5b4e71
Retire rtld-specific Versions.def. Symbols exported by rtld are supposed
...
to override weak symbols exported by libc, so by definition these two
are using the same symbol version names.
Reflect the reality by referring to libc's Versions.def directly.
2007-04-29 16:12:06 +00:00
Daniel Eischen
23daef56b3
Catch up with the renaming of the private version namespace.
2007-04-29 15:27:23 +00:00
Daniel Eischen
b5a71dda23
Give the private version namespace a number to match libc.
2007-04-29 14:16:19 +00:00
Daniel Eischen
5f864214bb
Use C comments since we now preprocess these files with CPP.
2007-04-29 14:05:22 +00:00
Daniel Eischen
8d3b75aa33
Number the private version namespace in case we ever want to have
...
compatibility between versions (as we do for the public namespace).
2007-04-29 14:03:45 +00:00
Daniel Eischen
091c66c6d2
Symbol version librt.
2007-04-29 14:01:45 +00:00
Daniel Eischen
06097b1060
Use CPP to preprocess version map files so we can conditionalize symbols.
2007-04-29 14:00:58 +00:00
Christian Brueffer
5b60daec90
New release notes:
...
- edsc(4) added
- pmcstat(4) -c and -t flags, defaults changed
- rpcbind -h and -6 flags
Modified release notes:
- Moved pmcstat information from kernel to userland section
- MSI-X supported as well, remove ref to pci(4) manpage, which is
different from the kernel's PCI code
- rpc.lockd/rpc.statd entry moved to the right place
2007-04-29 11:32:25 +00:00
Pawel Jakub Dawidek
f2c9356328
Fix two use-after-free cases.
2007-04-29 00:41:29 +00:00
Bruce A. Mah
05f17943bb
Minor correction: s/sg/scsi_sg/
2007-04-28 14:27:30 +00:00
Bruce A. Mah
505e40db14
New release note: FreeBSD-SA-07:03.ipv6.
2007-04-28 13:49:06 +00:00
John-Mark Gurney
ebf750a9fd
Complete removal of restriction about overlaps to rman_manage_region:
...
remove comment and man page verbage...
Document return values for rman_init and rman_manage_region..
MFC after: 1 week
2007-04-28 07:37:49 +00:00
Brian Somers
2e7b6bff38
Add some more examples. It always takes me a long time to find the S
...
modifier (-t is ignored without it).
MFC after: 1 week
2007-04-27 18:23:32 +00:00
Marcelo Araujo
bc3bb5de9a
- Add my mentor stas and my comentor itetcu.
...
Approved by: itetcu (comentor)
2007-04-27 18:19:59 +00:00
Marcelo Araujo
e27c581538
- Added entry for Marcelo S. Araujo.
...
Approved by: itetcu (comentor)
2007-04-27 18:17:41 +00:00
Scott Long
2524e4a8f6
Only schedule the xpt_finishconfig_task once. This fixes some potential
...
panics on boot.
2007-04-27 14:23:05 +00:00
Andrew Gallatin
9b03b0f3c0
-Fix an mbuf leak caused by a cut&paste bug where the small ring's mbufs
...
were never freed, but the big ring was freed twice.
-Don't supply rx hw csums for frames which are padded beyond the
length specified in the ip header. If the padding is non-zero,
the hw csum will be incorrect for such frames.
Sponsored by: Myricom
2007-04-27 13:11:50 +00:00
Joseph Koshy
fbd8b34a06
MFP4: Enhancements to pmcstat(8):
...
- Allow the "-t" option to take a regular expression naming command
line processes to attach process PMCs to.
- Update the manual page and add an example showing the use of the
new functionality.
- Update the (c) year on the affected source files.
2007-04-27 12:09:31 +00:00
Benjamin Close
6d8aebf6c5
Increase the verbosity of the warning given when this file is used as
...
part of the old tty system - helping the user to know how to transition to
the new tty api.
Approved by: mlaier (Mentor)
PR: kern/110667
2007-04-27 11:19:05 +00:00
Peter Pentchev
2d9ea3df77
A forced follow-up commit for the MSG_PEEK removal just to note that...
...
MFC after: 1 week
2007-04-27 10:30:31 +00:00
Peter Pentchev
0b329a103d
Remove the MSG_PEEK flag from the documentation of the send(2) syscall -
...
it is only relevant to receiving data from sockets, not to sending.
PR: 109667
Submitted by: Jari Kirma <kirma@cs.hut.fi>
Approved by: wollman
2007-04-27 10:28:30 +00:00
Marcel Moolenaar
e8e1f54462
Put the scheme (APM, GPT, etc) in the XML.
2007-04-27 05:58:10 +00:00