Browse Source

Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity into next

James Morris 9 năm trước cách đây
mục cha
commit
fbf9826589
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      security/integrity/digsig.c

+ 1 - 1
security/integrity/digsig.c

@@ -105,7 +105,7 @@ int __init integrity_load_x509(const unsigned int id, const char *path)
 				   rc,
 				   rc,
 				   ((KEY_POS_ALL & ~KEY_POS_SETATTR) |
 				   ((KEY_POS_ALL & ~KEY_POS_SETATTR) |
 				    KEY_USR_VIEW | KEY_USR_READ),
 				    KEY_USR_VIEW | KEY_USR_READ),
-				   KEY_ALLOC_NOT_IN_QUOTA | KEY_ALLOC_TRUSTED);
+				   KEY_ALLOC_NOT_IN_QUOTA);
 	if (IS_ERR(key)) {
 	if (IS_ERR(key)) {
 		rc = PTR_ERR(key);
 		rc = PTR_ERR(key);
 		pr_err("Problem loading X.509 certificate (%d): %s\n",
 		pr_err("Problem loading X.509 certificate (%d): %s\n",