-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/17/2014 04:35 PM, Guillaume J. Charmes wrote:
> In pkg/selinux/selinux.go:
> 
>> + +func readCon(name string) (string, error) { +	var val string + +	in,
>> err := os.Open(name) +	if err != nil { +		return "", err +	} +	defer
>> in.Close() + +	_, err = fmt.Fscanf(in, "%s", &val) +	return val, err +} 
>> + +func Setfilecon(path string, scon string) error { +	return
>> syscall.Setxattr(path, xattrNameSelinux, []byte(scon), 0)
> 
> This will probably not compile on osx
> 
> — Reply to this email directly or view it on GitHub 
> <https://github.com/dotcloud/docker/pull/4211/files#r10677498>.
> 
osx does not support SELinux, so should probably not compile it?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlMoTxcACgkQrlYvE4MpobM5cwCgoz3W09kQKZOtGroBFLt4vods
tVcAoIivaQcaUihNetZw0ry5MDc4IyM7
=x32h
-----END PGP SIGNATURE-----