| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
memory from int to size_t. Implement a workaround for current ABI not
allowing to properly save size for and report more then 2Gb sized segment
of shared memory.
This makes it possible to use > 2 Gb shared memory segments on 64bit
architectures. Please note the new BUGS section in shmctl(2) and
UPDATING note for limitations of this temporal solution.
Reviewed by: csjp
Tested by: Nikolay Dzham <i levsha org ua>
MFC after: 2 weeks
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unused in one go.
From the original PR:
I've observed that linux apps running under the linuxulator
have a habit of leaving behind shared memory segments which
are unused, but which eventually cause the system to run
out of free segments and these apps will stop working.
ipcrm(1) currently only allows removal of unused message
queues, shared memory segments and semaphores on an individual
basis, or those having a matching (non-zero) key. However
it would often be convenient to just do a complete cleanup
of everything, usually as root.
PR: bin/118292
Submitted by: Callum Gibson <callumgibson@optusnet.com.au>
Not reviewed by: grog@
Approved by: grog@
|
|
|
|
|
|
|
|
|
| |
changes as proposed in bin/118292.
Feel free to mention any I have missed, there is much to learn with
regarding to style(9).
Approved by: grog@
|
|
|
|
|
|
| |
PR: bin/97292
Submitted by: clsung
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
| |
integer to an unsigned long. This lifts variables like the maximum
number of pages available for shared memory from 2^31 to 2^32 on 32
bit architectures, and from 2^31 to 2^64 on 64 bit architectures.
It should be noted that this changes breaks ABI on 64 bit architectures
because the size of the shmmax, shmmin, shmmni, shmseg and shmall members
of the shminfo structure has changed.
Silence on: current@
|
|
|
|
|
|
|
| |
string to the end of the error message. I think we used errx()
there when we really wanted an err().
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
| |
headers properly (right justified for numbers, left justified for
everything else).
This fixes the alignment of the fields on i386, sparc64 and amd64
today but does not dynamically assign column widths or bear in mind
that some of the values may be 64-bit in the future.
Reviewed by: alfred
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
to be modified and extended without breaking the user space ABI:
Make the "ipcs" tool, which grubs around in kernel memory to report
status relating to System V IPC, use the _kernel variants on the
System V IPC data structures.
Submitted by: Dandekar Hrishikesh <rishi_dandekar at sbcglobal dot net>
Obtained from: TrustedBSD Project
Sponsored by: DARPA, SPAWAR, McAfee Research
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
It allows you to list IPC facilities owned by username/uid.
Submitted by: Christian S.J. Peron <maneo@bsdpro.com>
PR: bin/63463
|
| |
|
| |
|
|
|
|
| |
Approved by: re (blanket)
|
|
|
|
|
|
|
| |
fix this.
PR: 49968
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
|
| |
PR: docs/37757
Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
|
| |
|
|
|
|
|
|
|
| |
2) Move a break outside a #if block to keep gcc3 from seeing a "default:"
at the end of a block.
3) Fix some format warnings. Some remain which can be fixed more easily
when we have a full C99 printf.
|
| |
|
|
|
|
|
|
|
| |
and user_from_uid to grp.h and pwd.h. Update the man pages.
Submitted by: David Malone
Pointy hat to: imp
|
|
|
|
| |
builtins (e.g., exit, strcmp).
|
| |
|
|
|
|
|
|
|
| |
on a running system. Using kvm is still supported, primarily for
postmortem analysis.
Reviewed by: tmm
|
| |
|
| |
|
|
|
|
| |
than they are worth.
|
|
|
|
| |
whether we read as many bytes as we expected.
|
|
|
|
|
|
| |
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot). This is consistant with the other
BSD's who made this change quite some time ago. More commits to come.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
ipcs -T' shows system information about shared memory,
message queues and semaphores. But the manual description does
not mention semapores.
Now it does.
PR: docs/3489
Submitted by: k-horik@yk.rim.or.jp
|
|
|
|
| |
posix standard on the topic.
|
| |
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
| |
|
|
|
|
| |
Submitted by: jin@george.lbl.gov (Jin Guojun[ITG])
|
|
|
|
| |
Submitted by: smpatel (Sujal Patel)
|
|
|
|
| |
declarations in system headers that will be fixed soon.
|
|
|
|
| |
(Bring to 2.0 please)
|
| |
|
|
|
|
| |
Obtained from: NetBSD
|
|
|