Date: Mon, 13 May 2024 10:41:03 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 278949] sysv IPC sysctl's behave differently for 32-bit on 64bits hosts Message-ID: <bug-278949-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278949 Bug ID: 278949 Summary: sysv IPC sysctl's behave differently for 32-bit on 64bits hosts Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: rbranco@suse.com To reproduce: I created only one object of each type with the ipcmk command shipped by util-linux like this: $ ipcmk -M 1k -S 1 -Q Then ran ipcs in Ubuntu Jammy 64-bits & 32-bits created with `debootstrap [--arch i386] /compat/ubuntu[32]` $ sudo chroot /compat/ubuntu ipcs -a ------ Message Queues -------- key msqid owner perms used-bytes messages=20=20=20= =20 0x0fb549ed 65536 1000 644 0 0=20=20=20=20=20= =20=20=20=20=20=20 ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status=20= =20=20=20=20=20 0x25caab18 65536 1000 644 4096 0=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ------ Semaphore Arrays -------- key semid owner perms nsems=20=20=20=20=20 0xbf526696 65536 1000 644 1=20=20=20=20=20=20=20=20=20 $ sudo chroot /compat/ubuntu32 ipcs -a ------ Message Queues -------- key msqid owner perms used-bytes messages=20=20=20= =20 0xdeadc0de 2147483647 3735929054 336 16045693110842147038 16045693110842147038 0xdeadc0de 2147483647 3735929054 336 16045693110842147038 16045693110842147038 0xdeadc0de 2147483647 3735929054 336 16045693110842147038 16045693110842147038 0xdeadc0de 2147483647 3735929054 336 16045693110842147038 16045693110842147038 0xdeadc0de 2147483647 3735929054 336 16045693110842147038 16045693110842147038 0xdeadc0de 2147483647 3735929054 336 16045693110842147038 16045693110842147038 0xdeadc0de 2147483647 3735929054 336 16045693110842147038 16045693110842147038 0xdeadc0de 2147483647 3735929054 336 16045693110842147038 16045693110842147038 0xdeadc0de 2147483647 3735929054 336 16045693110842147038 16045693110842147038 0xdeadc0de 2147483647 3735929054 336 16045693110842147038 16045693110842147038 0xdeadc0de 2147483647 3735929054 336 16045693110842147038 16045693110842147038 0xdeadc0de 2147483647 3735929054 336 16045693110842147038 16045693110842147038 0xdeadc0de 2147483647 3735929054 336 16045693110842147038 16045693110842147038 0xdeadc0de 2147483647 3735929054 336 16045693110842147038 16045693110842147038 0xdeadc0de 2147483647 3735929054 336 16045693110842147038 16045693110842147038 0xdeadc0de 2147483647 3735929054 336 16045693110842147038 16045693110842147038 ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status=20= =20=20=20=20=20 0x00001000 65536 1000 644 71807 1715595399=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 ------ Semaphore Arrays -------- key semid owner perms nsems=20=20=20=20=20 0x00000000 65536 1000 644 0 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278949-227>