Displaying 20 results from an estimated 46 matches for "shmat".
2004 Feb 05
0
FreeBSD Security Advisory FreeBSD-SA-04:02.shmat
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
=============================================================================
FreeBSD-SA-04:02.shmat Security Advisory
The FreeBSD Project
Topic: shmat reference counting bug
Category: core
Module: kernel
Announced: 2004-02-05
Credits: Joost Pol <joost@pine.nl>...
2004 Feb 05
1
FreeBSD Security Advisory FreeBSD-SA-04:02.shmat
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
=============================================================================
FreeBSD-SA-04:02.shmat Security Advisory
The FreeBSD Project
Topic: shmat reference counting bug
Category: core
Module: kernel
Announced: 2004-02-05
Credits: Joost Pol <joost@pine.nl>...
2006 May 09
0
is it possible share memory between domains like shmget, shmat??
...between domains. i need to be able to write to a shared memory from one domain and allow other domain(s) to read from it. for example domA is always the writer and domB or domC are always readers. to be able to do that does hypervisor provide anything like "shmget" for domA and "shmat" for domB and domC?:)
i''m just reading up grant tables etc where some frames are shared between domains. would grant tables mechanism allow me to do above thing? if so, can domA grant read access to, say 20 frames, for domB and domC upfront and never revoke them?
am now...
2002 Sep 30
0
Bug(?) in the example encoder (details re: audio from fifo)
...able(?) to open the stream:
--------------------------------------------------------
execve("/usr/local/bin/encoder_example", ["encoder_example", "-a", "1", "-v",
"1", "stream.wav", "stream.yuv"], [/* 37 vars */]) = 0
shmat(0, 0, 0x1ptrace: umoven: Input/output error
) = ?
shmat(1, 0xbffff858, 0x1) = 0xbffff878
shmat(2, 0, 0x1ptrace: umoven: Input/output error
) = ?
semop(3221223652, 0, 0) = 0
SYS_199(0, 0, 0x81b00c8, 0, 0x7) = 0
semget...
2002 Jun 25
1
[Bug 293] New: sshd 3.3p1 doesn't work on Slackware
http://bugzilla.mindrot.org/show_bug.cgi?id=293
Summary: sshd 3.3p1 doesn't work on Slackware
Product: Portable OpenSSH
Version: -current
Platform: ix86
URL: http://www.slynet.lu/
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P2
Component: sshd
AssignedTo:
2009 Jan 13
1
Shared Memory and Memory Mapped I/O
...quot;test");
token.location = MapViewOfFile(token.hFileMapping, 0xF001F, 0, 0, 1000);
in windows to get the memory location to read or write to.
I want to access the shared memory created by the windows application running under wine with a linux application. Using something like "shmat".
Is this possible? Can someone point me in the right direction for this?
Thanks in advanced.
2011 Mar 29
2
Accessing shared memory
...), then stuffs the output into a shared memory segment. This app runs perfectly using Wine on my Linux box(Fedora 12).
My own development environment is Java. I need to write a piece of native C code that can get at the shared memory segment that is created by my customer's application using shmat().
Does anyone have any idea how to tackle this issue?
2004 Apr 13
1
shared mem advice
....
I wonder if the right approach would be to
modify add a modified version of the
allocVector(SEXPTYPE type, int length) function
specifically
shared_mem_id = shmget(shared_mem_key,
SHM_SIZE,
IPC_CREAT);
shared = (SEXP) shmat(shared_mem_id, (void *)0, 0);
my_allocVector(SEXPTYPE type, int length, SEXP
shared) {
SEXP s=shared;
....
And erase this if:
#################################################
if(size >=
(LONG_MAX / sizeof(VECREC))-sizeof(SEXPREC_ALIGN)
||
(s =
mal...
2014 Feb 06
1
Application Hang issue in RHEL6.4
...Red Hat Enterprise Linux Server release 6.4 (Santiago)
1. When it hangs, this is what strace gives:
[RHEL6.4 at 10.201.0.221 bin]# strace -p 23793 Process 23793 attached - interrupt to quit [ Process PID=23793 runs in 32 bit mode. ]
shmget(0x110c1be, 16777216, 0666) = 3801140
shmat(3801140, 0, 0) = 0x85c2c70e7755000
shmctl(3801140, IPC_64|SHM_LOCK, 0^C <unfinished ...>
2. When we kill the application and generate a core file, Here is what gdb shows:
Core was generated by ` <our application> 12 12 10.33.0.230 eth1 -1 0 3 fd5d:d5...
2002 Jul 24
0
Weird: cron or sendmail don't work properly after I installed winbind
...ptor)
dup2(1, 2) = 2
close(1) = 0
close(10) = 0
msgctl(0, MSG_???, 0x40133fd0) = 0
uname({sys="Linux", node="lola", ...}) = 0
open("/etc/group", O_RDONLY) = 1
shmat(1, 0xbffff200, 0x1) = ?
shmat(1, 0xbffff200, 0x2) = ?
fstat64(1, {st_mode=S_IFREG|0644, st_size=692, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
_llseek(1, 0, [0], SEEK_CUR) = 0
read(1, "root:x:0:roo...
2001 Jul 09
1
winelib problems with .configure
...ing how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for ldconfig... /sbin/ldconfig
checking for sqrt in -lm... yes
checking for i386_set_ldt in -li386... no
checking for _oss_ioctl in -lossaudio... no
checking for iswaln...
2019 Mar 16
0
[ANNOUNCE] libXvMC 1.0.11
libXvMC is the Xlib-based client library for the X-Video Motion Compensation
API.
Alan Coopersmith (5):
Need to check for -1, not 0, to determine if shmat() failed
Fix sign comparison warnings for loop indexes
Update README for gitlab migration
Update configure.ac bug URL for gitlab migration
libXvMC 1.0.11
Emil Velikov (1):
autogen.sh: use quoted string variables
Mihail Konev (1):
autogen: add default patch pref...
2005 Dec 01
0
[fdo] Programming problems in Dual Head Mode.
...+ ShmCompletion;
> ximage = (XvImage *) XvShmCreateImage(display, portNum,
> GUID_MBX1_PLANAR,0, yuv_width, yuv_height, (char *) &shminfo1);
> shminfo1.shmid = shmget (IPC_PRIVATE, ximage->data_size,
> IPC_CREAT|0777);
> shminfo1.shmaddr = ximage->data = shmat (shminfo1.shmid, 0, 0);
> shminfo1.readOnly = False;
> if(!XShmAttach (display, &shminfo1)) {
> printf("XShmAttach failed!\n");
> }
> shmctl (shminfo1.shmid, IPC_RMID, 0);
> XSync(display,False);
I use tinyX as the Xserver and the xfbdev as the...
2005 Dec 05
0
[fdo] Programming problems in Dual Head Mode with Tiny-X.
...+ ShmCompletion;
> ximage = (XvImage *) XvShmCreateImage(display, portNum,
> GUID_MBX1_PLANAR,0, yuv_width, yuv_height, (char *) &shminfo1);
> shminfo1.shmid = shmget (IPC_PRIVATE, ximage->data_size,
> IPC_CREAT|0777);
> shminfo1.shmaddr = ximage->data = shmat (shminfo1.shmid, 0, 0);
> shminfo1.readOnly = False;
> if(!XShmAttach (display, &shminfo1)) {
> printf("XShmAttach failed!\n");
> }
> shmctl (shminfo1.shmid, IPC_RMID, 0);
> XSync(display,False);
I use tinyX as the Xserver and the xfbdev as the...
2009 Jan 27
7
authz.dll
I've downloaded the latest DB2 client, and its ODBC registration program complains that this is missing. No threads or references here. There didn't appear to be a download for it at M$.
A search yielded lots o sites that offered it. Any recommendations?
thanks
2004 Aug 06
1
how to start liveice with screen?
Moin,
I installed liveice as well as 'screen' at a debian maschine, both
applications are running fine. But when I try to start liveice in a 'screen'
environment then the liveice process ends without an error message:
$ /usr/bin/screen -dmS liveice /usr/bin/liveice
A prefixed 'strace -f' shows me:
[pid 5614] old_mmap(NULL, 167936, PROT_READ|PROT_WRITE,
2002 Jun 25
2
Help wanted: configure test for busted mmap
Linux 2.2 (and probably others) have a deficient mmap which has caused a
number of problems (e.g. bug #285).
A workaround is in development, but it would be helpful to have a
configure test to detect the bad mmaps().
Any takers?
-d
2001 Mar 17
1
ogg123 doesn't destroy shm segment
...-76,7 +75,7 @@
/* Get the shared memory segment. */
int shmid = shmget (IPC_PRIVATE,
sizeof(buf_t) + sizeof (chunk_t) * (size - 1),
- IPC_CREAT|S_IREAD|S_IWRITE);
+ IPC_CREAT|SHM_R|SHM_W);
if (shmid == -1)
{
@@ -92,7 +91,10 @@
perror ("shmat");
exit (1);
}
-
+
+ /* Remove segment after last process detaches it or terminates. */
+ shmctl(shmid, IPC_RMID, 0);
+
buffer_init (buf, size);
/* Create a pipe for communication between the two processes. Unlike
--
Christian "naddy" Weisgerber...
2016 Feb 29
0
[Release-testers] [3.8 Release] RC3 has been tagged
...e2
MemorySanitizer-Unit :: Msan-mips64-Test/MemorySanitizer.UnalignedStore32
MemorySanitizer-Unit :: Msan-mips64-Test/MemorySanitizer.gethostbyname_r_erange
MemorySanitizer-Unit :: Msan-mips64-Test/MemorySanitizer.ptrtoint
MemorySanitizer-Unit :: Msan-mips64-Test/MemorySanitizer.shmat
MemorySanitizer-Unit :: Msan-mips64-with-call-Test/MemorySanitizer.SmallPreAllocatedStackThread
MemorySanitizer-Unit :: Msan-mips64-with-call-Test/MemorySanitizer.UnalignedLoad
MemorySanitizer-Unit :: Msan-mips64-with-call-Test/MemorySanitizer.UnalignedStore16
MemorySanitizer-Un...
2016 Jul 13
2
[LLVM/Clang v3.8.1] Missing Git branches/tags and source-tarballs?
On Wed, Jul 13, 2016 at 04:48:51PM +0200, Sedat Dilek via llvm-dev wrote:
> [ CCed all people who were involved in this thread ]
>
> Hi Tom,
>
> personally, I am interested to test the prebuilt-toolchains for
> Ubuntu/xenial alias 16.04 LTS and Debian/Jessie v8.5.0 AMD64.
> The available toolchains are incomplete and thus useless.
>
> Just as a fact: There is still no