|
@@ -27,7 +27,7 @@ static ssize_t mp_user_getxattr(FsContext *ctx, const char *path,
|
|
{
|
|
{
|
|
if (strncmp(name, "user.virtfs.", 12) == 0) {
|
|
if (strncmp(name, "user.virtfs.", 12) == 0) {
|
|
/*
|
|
/*
|
|
- * Don't allow fetch of user.virtfs namesapce
|
|
|
|
|
|
+ * Don't allow fetch of user.virtfs namespace
|
|
* in case of mapped security
|
|
* in case of mapped security
|
|
*/
|
|
*/
|
|
errno = ENOATTR;
|
|
errno = ENOATTR;
|
|
@@ -49,7 +49,7 @@ static ssize_t mp_user_listxattr(FsContext *ctx, const char *path,
|
|
name_size -= 12;
|
|
name_size -= 12;
|
|
} else {
|
|
} else {
|
|
/*
|
|
/*
|
|
- * Don't allow fetch of user.virtfs namesapce
|
|
|
|
|
|
+ * Don't allow fetch of user.virtfs namespace
|
|
* in case of mapped security
|
|
* in case of mapped security
|
|
*/
|
|
*/
|
|
return 0;
|
|
return 0;
|
|
@@ -74,7 +74,7 @@ static int mp_user_setxattr(FsContext *ctx, const char *path, const char *name,
|
|
{
|
|
{
|
|
if (strncmp(name, "user.virtfs.", 12) == 0) {
|
|
if (strncmp(name, "user.virtfs.", 12) == 0) {
|
|
/*
|
|
/*
|
|
- * Don't allow fetch of user.virtfs namesapce
|
|
|
|
|
|
+ * Don't allow fetch of user.virtfs namespace
|
|
* in case of mapped security
|
|
* in case of mapped security
|
|
*/
|
|
*/
|
|
errno = EACCES;
|
|
errno = EACCES;
|
|
@@ -88,7 +88,7 @@ static int mp_user_removexattr(FsContext *ctx,
|
|
{
|
|
{
|
|
if (strncmp(name, "user.virtfs.", 12) == 0) {
|
|
if (strncmp(name, "user.virtfs.", 12) == 0) {
|
|
/*
|
|
/*
|
|
- * Don't allow fetch of user.virtfs namesapce
|
|
|
|
|
|
+ * Don't allow fetch of user.virtfs namespace
|
|
* in case of mapped security
|
|
* in case of mapped security
|
|
*/
|
|
*/
|
|
errno = EACCES;
|
|
errno = EACCES;
|