All of lore.kernel.org
 help / color / mirror / Atom feed
* Security modules and sending signals within the same process
@ 2018-11-30 15:14 ` Florian Weimer
  0 siblings, 0 replies; 12+ messages in thread
From: Florian Weimer @ 2018-11-30 15:14 UTC (permalink / raw)
  To: apparmor-nLRlyDuq1AZFpShjVBNYrg,
	linux-security-module-u79uwXL29TY76Z2rM5mHXA,
	selinux-+05T5uksL2qpZYMLLGbcSA, linux-api-u79uwXL29TY76Z2rM5mHXA
  Cc: Arnd Bergmann, H. Peter Anvin

Is it guaranteed that tasks in the same thread group can always send
signals to each other, irrespective of their respective credentials
structs?

It's not clear to me whether this is always possible based on the
security_task_kill implementations I've examined.

I want to support per-thread setresuid/setresgid, but we also use
signals for inter-thread communication.  This is mainly for thread
cancellation; the setxgid stuff isn't needed for threads with private
credentials.  I wonder if I need to disable cancellation for threads
with such credentials.

Thanks,
Florian

-- 
AppArmor mailing list
AppArmor@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-12-11 10:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-30 15:14 Security modules and sending signals within the same process Florian Weimer
2018-11-30 15:14 ` Florian Weimer
     [not found] ` <87lg5asilo.fsf-fjB847h8rq0pB0kWxzfTigCJwEvxM/w9@public.gmane.org>
2018-11-30 16:02   ` Stephen Smalley
2018-11-30 16:02     ` Stephen Smalley
     [not found]     ` <e754fa24-899b-f77e-f226-0f070ebad132-+05T5uksL2qpZYMLLGbcSA@public.gmane.org>
2018-12-11 10:42       ` Florian Weimer
2018-12-11 10:42         ` Florian Weimer
2018-11-30 17:54   ` Casey Schaufler
2018-11-30 17:54     ` Casey Schaufler
     [not found]     ` <2c3e813c-f56a-3354-1299-30b0646f40e1-iSGtlc1asvQWG2LlvL+J4A@public.gmane.org>
2018-11-30 18:00       ` Florian Weimer
2018-11-30 18:00         ` Florian Weimer
2018-11-30 23:38       ` John Johansen
2018-11-30 23:38         ` [apparmor] " John Johansen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.