Add a field ip_protected_payload and a flag ip_has_protected_payload
to struct ipc_port.
Clear the protected payload when a receive port is moved from one ipc
space to another. This is done to retain the old behavior of
mach_msg, so that a port name is sent in the msgh_local_port field.
If the
* include/mach/message.h (mach_msg_header_t): Add
msgh_protected_payload as a union with msgh_local_port.
* doc/mach.texi (Message Format): Document msgh_protected_payload.
---
doc/mach.texi | 9 +
include/mach/message.h | 5 -
2 files changed, 13 insertions(+), 1
* include/mach/mach_port.defs: Add mach_port_{set,clear}_protected_payload.
* ipc/mach_port.c: Implement mach_port_{set,clear}_protected_payload.
* doc/mach.texi (Receive Rights): Document
mach_port_{set,clear}_protected_payload.
---
doc/mach.texi | 35 ++
* ipc/ipc_kmsg.c (ipc_kmsg_copyout_header): If a protected payload is
set for the destination port, provide it in msgh_protected_payload.
* doc/mach.texi (Message Receive): Document message semantics with
protected payloads.
---
doc/mach.texi | 19 +++
ipc/ipc_kmsg.c | 58
* include/mach/message.h: Define MACH_MSG_TYPE_PROTECTED_PAYLOAD.
(MACH_MSG_TYPE_LAST): Adjust accordingly.
* doc/mach.texi (Message Format): Document
MACH_MSG_TYPE_PROTECTED_PAYLOAD.
---
doc/mach.texi | 6 ++
include/mach/message.h | 4 +++-
2 files changed, 9 insertions(+), 1
On Tue, 2014-02-18 at 21:25 -0800, Samuel Thibault wrote:
Gabriele Giacone, le Tue 18 Feb 2014 23:49:14 +0100, a écrit :
[1]
http://anonscm.debian.org/viewvc/pkg-glibc/glibc-package/branches/eglibc-2.17/debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff?revision=5436view=markup
On Fri, Feb 21, 2014 at 12:48:49PM +0100, Justus Winter wrote:
Add a field ip_protected_payload and a flag ip_has_protected_payload
to struct ipc_port.
diff --git a/ipc/ipc_port.h b/ipc/ipc_port.h
index 27d2e49..4c7c742 100644
--- a/ipc/ipc_port.h
+++ b/ipc/ipc_port.h
@@ -71,6 +71,10 @@
* include/mach/mach_port.defs: Add mach_port_{set,clear}_protected_payload.
* ipc/mach_port.c: Implement mach_port_{set,clear}_protected_payload.
* doc/mach.texi (Receive Rights): Document
mach_port_{set,clear}_protected_payload.
---
doc/mach.texi | 35 ++
* include/mach/message.h (mach_msg_header_t): Add
msgh_protected_payload as a union with msgh_local_port.
* doc/mach.texi (Message Format): Document msgh_protected_payload.
---
doc/mach.texi | 9 +
include/mach/message.h | 5 -
2 files changed, 13 insertions(+), 1
* ipc/ipc_kmsg.c (ipc_kmsg_copyout_header): If a protected payload is
set for the destination port, provide it in msgh_protected_payload.
* doc/mach.texi (Message Receive): Document message semantics with
protected payloads.
---
doc/mach.texi | 19 +++
ipc/ipc_kmsg.c | 58
* include/mach/message.h: Define MACH_MSG_TYPE_PROTECTED_PAYLOAD.
(MACH_MSG_TYPE_LAST): Adjust accordingly.
* doc/mach.texi (Message Format): Document
MACH_MSG_TYPE_PROTECTED_PAYLOAD.
---
doc/mach.texi | 6 ++
include/mach/message.h | 4 +++-
2 files changed, 9 insertions(+), 1
Add a field ip_protected_payload and a flag ip_has_protected_payload
to struct ipc_port.
Clear the protected payload when a receive port is moved from one ipc
space to another. This is done to retain the old behavior of
mach_msg, so that a port name is sent in the msgh_local_port field.
If the
On Fri, Feb 21, 2014 at 05:49:24PM +0100, Justus Winter wrote:
-#define IO_BITS_OTYPE0x7fff /* determines a cache */
+#define IO_BITS_OTYPE0x3fff /* determines a cache */
+/* The following masks are used to store attributes of ipc ports. */
The name will be used in error messages printed by the kernel. This
makes attributing the errors to processes possible.
* exec/exec.c (do_exec): Set the name of the new task.
---
exec/exec.c | 27 +--
1 file changed, 21 insertions(+), 6 deletions(-)
diff --git
---
exec/Makefile | 2 +-
exec/gnumach.defs | 74 +++
exec/mach_debug/hash_info.h | 41 ++
exec/mach_debug/ipc_info.h| 100 +++
exec/mach_debug/mach_debug.defs | 233
Previously, the terminating zero of variable-sized c strings was only
included when copying the message if the length of the string was not
a multiple of four. mig_strncpy returns the length of the string
excluding the terminating zero. Fix this by properly accounting for
the byte for the
Previously, the function mig_strncpy would always zero-terminate the
destination string. Make mig_strncpy behave like mig_strncpy and
strncpy in the glibc. Also fix the implementation of mig_strncpy to
return the length of the written string to align the implementation
with the declaration in
Em Sexta-feira, 21 de Fevereiro de 2014 18:31, Jetro Costa
gordao...@yahoo.com escreveu:
please, show me how to participate of development of HURD, and oders FSF
projects, and projects licensed with GNU lincese.
Em Segunda-feira, 25 de Novembro de 2013 10:03, Jetro Costa
please, show me how to participate of development of HURD, and oders FSF
projects, and projects licensed with GNU lincese.
Em Segunda-feira, 25 de Novembro de 2013 10:03, Jetro Costa
gordao...@yahoo.com escreveu:
Em Segunda-feira, 25 de Novembro de 2013 9:43, Jetro Costa
Em Sexta-feira, 21 de Fevereiro de 2014 18:44, Jetro Costa
gordao...@yahoo.com escreveu:
Em Sexta-feira, 21 de Fevereiro de 2014 18:31, Jetro Costa
gordao...@yahoo.com escreveu:
please, show me how to participate of development of HURD, and oders FSF
projects, and projects licensed
Update of task #6990 (project hurd):
Status:None = Done
Open/Closed:Open = Closed
Wiki-like text discussion box: = Fixed in
b39be886ee3562ff924b631a365b1e46d424f636
Previously, the function mig_strncpy would always zero-terminate the
destination string. Make mig_strncpy behave like mig_strncpy and
strncpy in the glibc. Also fix the implementation of mig_strncpy to
return the length of the written string to align the implementation
with the declaration in
22 matches
Mail list logo