nk@home.sybase.com (Nicolai Kosche) (05/31/91)
Hello, I am looking for some pointers in granting port permissions to a child process. I have done the following so far (read down in chronological order): Parent Process Child Process port_allocate port_set_backlog (not needed) netname_check_in fork sleep task_by_unix_pid (grant permission to task) msg_receive netname_look_up msg_send On the child's msg_send I get a permission error. Ports are not inherited by children. Paraphrasing: what mach calls do I use to grant my child process receive and/or send rights to the port owned by the parent process? MiG apparently sets permissions in its internal routines. I don't mind using MiG, but I need an asynchronous interface. Thanks a million for your help. Nicolai Kosche nk@sybase.com {pyramid,sun,mtxinu}!sybase!nk I speak only for myself and I do not reflect the views or position of Sybase. Anything included in this message is provided at your own risk.