fix: exec_object_restorecon
This commit is contained in:
@ -683,7 +683,7 @@ static void exec_object_restorecon(struct selabel_handle* sehnd, Oid catalogId)
|
||||
objtype = SELABEL_DB_TABLE;
|
||||
else if (RELKIND_IS_SEQUENCE(relForm->relkind))
|
||||
objtype = SELABEL_DB_SEQUENCE;
|
||||
else if (relForm->relkind == RELKIND_VIEW || (relForm->relkind == RELKIND_CONTQUERY)
|
||||
else if (relForm->relkind == RELKIND_VIEW || (relForm->relkind == RELKIND_CONTQUERY))
|
||||
objtype = SELABEL_DB_VIEW;
|
||||
else
|
||||
continue; /* no need to assign security label */
|
||||
|
||||
Reference in New Issue
Block a user