<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/ipcs, branch releng/8.1</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F8.1</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F8.1'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2009-06-24T21:10:52Z</updated>
<entry>
<title>Change the ABI of some of the structures used by the SYSV IPC API:</title>
<updated>2009-06-24T21:10:52Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2009-06-24T21:10:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b648d4806b3ec5be814332e96d565cb0be71d50d'/>
<id>urn:sha1:b648d4806b3ec5be814332e96d565cb0be71d50d</id>
<content type='text'>
- The uid/cuid members of struct ipc_perm are now uid_t instead of unsigned
  short.
- The gid/cgid members of struct ipc_perm are now gid_t instead of unsigned
  short.
- The mode member of struct ipc_perm is now mode_t instead of unsigned short
  (this is merely a style bug).
- The rather dubious padding fields for ABI compat with SV/I386 have been
  removed from struct msqid_ds and struct semid_ds.
- The shm_segsz member of struct shmid_ds is now a size_t instead of an
  int.  This removes the need for the shm_bsegsz member in struct
  shmid_kernel and should allow for complete support of SYSV SHM regions
  &gt;= 2GB.
- The shm_nattch member of struct shmid_ds is now an int instead of a
  short.
- The shm_internal member of struct shmid_ds is now gone.  The internal
  VM object pointer for SHM regions has been moved into struct
  shmid_kernel.
- The existing __semctl(), msgctl(), and shmctl() system call entries are
  now marked COMPAT7 and new versions of those system calls which support
  the new ABI are now present.
- The new system calls are assigned to the FBSD-1.1 version in libc.  The
  FBSD-1.0 symbols in libc now refer to the old COMPAT7 system calls.
- A simplistic framework for tagging system calls with compatibility
  symbol versions has been added to libc.  Version tags are added to
  system calls by adding an appropriate __sym_compat() entry to
  src/lib/libc/incldue/compat.h. [1]

PR:		kern/16195 kern/113218 bin/129855
Reviewed by:	arch@, rwatson
Discussed with:	kan, kib [1]
</content>
</entry>
<entry>
<title>Correct types of variables used to track amount of allocated SysV shared</title>
<updated>2009-03-02T18:53:30Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2009-03-02T18:53:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=65067cc8b020a2a55018319816f8c6c2d9bcee18'/>
<id>urn:sha1:65067cc8b020a2a55018319816f8c6c2d9bcee18</id>
<content type='text'>
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 &gt; 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 &lt;i levsha org ua&gt;
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Fix printing of shared memory limits.</title>
<updated>2008-12-16T09:17:05Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2008-12-16T09:17:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=49f8bb9a950ee883ffa37786e74a852850b58ad4'/>
<id>urn:sha1:49f8bb9a950ee883ffa37786e74a852850b58ad4</id>
<content type='text'>
MFC after:	3 days
</content>
</entry>
<entry>
<title>Add the ability to clean up all shared memory segments which are</title>
<updated>2007-12-25T00:52:24Z</updated>
<author>
<name>Edwin Groothuis</name>
<email>edwin@FreeBSD.org</email>
</author>
<published>2007-12-25T00:52:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=55e2cb41f216b713fb865aaf392ddb17ebbd57d1'/>
<id>urn:sha1:55e2cb41f216b713fb865aaf392ddb17ebbd57d1</id>
<content type='text'>
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 &lt;callumgibson@optusnet.com.au&gt;
Not reviewed by:	grog@
Approved by:	grog@
</content>
</entry>
<entry>
<title>Stylify ipcs/ipcs.c and ipcrm/ipcrm in preparation of the upcoming</title>
<updated>2007-12-18T09:39:47Z</updated>
<author>
<name>Edwin Groothuis</name>
<email>edwin@FreeBSD.org</email>
</author>
<published>2007-12-18T09:39:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fa44a2923eea307bf9253fb6aee5a771dd6e3bc5'/>
<id>urn:sha1:fa44a2923eea307bf9253fb6aee5a771dd6e3bc5</id>
<content type='text'>
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@
</content>
</entry>
<entry>
<title>o Fix typo in a comment.</title>
<updated>2006-05-15T08:20:38Z</updated>
<author>
<name>Maxim Konovalov</name>
<email>maxim@FreeBSD.org</email>
</author>
<published>2006-05-15T08:20:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=df2e45f7c2eda773e7c0a6106b86f2afe96c4d2f'/>
<id>urn:sha1:df2e45f7c2eda773e7c0a6106b86f2afe96c4d2f</id>
<content type='text'>
PR:		bin/97292
Submitted by:	clsung
MFC after:	3 days
</content>
</entry>
<entry>
<title>Change the data type of the upper shared memory limits from a signed</title>
<updated>2005-08-06T07:20:18Z</updated>
<author>
<name>Christian S.J. Peron</name>
<email>csjp@FreeBSD.org</email>
</author>
<published>2005-08-06T07:20:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9baea4b4b4f3b9aa15b529e7381a02f38f2f7817'/>
<id>urn:sha1:9baea4b4b4f3b9aa15b529e7381a02f38f2f7817</id>
<content type='text'>
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@
</content>
</entry>
<entry>
<title>If sysctlbyname fails for kernel related reasons, tag the errno</title>
<updated>2005-05-24T23:42:09Z</updated>
<author>
<name>Christian S.J. Peron</name>
<email>csjp@FreeBSD.org</email>
</author>
<published>2005-05-24T23:42:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=701fabc74b259d00add288cf4d9b1f118725ba17'/>
<id>urn:sha1:701fabc74b259d00add288cf4d9b1f118725ba17</id>
<content type='text'>
string to the end of the error message. I think we used errx()
there when we really wanted an err().

MFC after:	1 week
</content>
</entry>
<entry>
<title>Use 12 columns for (int) values, 20 columns for (long) and align</title>
<updated>2005-03-08T13:14:46Z</updated>
<author>
<name>Giorgos Keramidas</name>
<email>keramida@FreeBSD.org</email>
</author>
<published>2005-03-08T13:14:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=336c393fc0c9b6f07ba3da5167c24682219269d1'/>
<id>urn:sha1:336c393fc0c9b6f07ba3da5167c24682219269d1</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Turn K&amp;R functions into prototypes.</title>
<updated>2005-02-10T09:13:20Z</updated>
<author>
<name>Stefan Farfeleder</name>
<email>stefanf@FreeBSD.org</email>
</author>
<published>2005-02-10T09:13:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5bcb8532a8e86dfd432dd00a52d55465a98803ec'/>
<id>urn:sha1:5bcb8532a8e86dfd432dd00a52d55465a98803ec</id>
<content type='text'>
</content>
</entry>
</feed>
