SELinux-Refpolicy Archive on
 help / color / Atom feed
From: Dominick Grift <>
To: Russell Coker <>
Subject: Re: /dev/vhost-vsock
Date: Sat, 11 Apr 2020 08:17:59 +0200
Message-ID: <> (raw)
In-Reply-To: <1863651.PGxljZVUGs@liv> (Russell Coker's message of "Sat, 11 Apr 2020 13:55:05 +1000")

Russell Coker <> writes:

> Would vhost_device_t be the right type for /dev/vhost-vsock?
> This seems to be the documentation for it.

this is the "ptrace" equivalent for applications that use user
namespaces like, i think, firefox and flatpak. This event will surface
if you do a `ps auxZ` when you have a running instance of a application
the uses user name spaces.

In the case of firefox you would for example append it below this line:
like so:
allow $2 mozilla_t:cap_userns sys_ptrace;

gpg --locate-keys
Key fingerprint = FCD2 3660 5D6B 9D27 7FC6  E0FF DA7E 521F 10F6 4098
Dominick Grift

  reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-11  3:55 /dev/vhost-vsock Russell Coker
2020-04-11  6:17 ` Dominick Grift [this message]
2020-04-11  8:10   ` /dev/vhost-vsock Dominick Grift
2020-04-11  6:19 ` /dev/vhost-vsock Dominick Grift

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

SELinux-Refpolicy Archive on

Archives are clonable:
	git clone --mirror selinux-refpolicy/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 selinux-refpolicy selinux-refpolicy/ \
	public-inbox-index selinux-refpolicy

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone