Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 9c75a99d in mainline for kernel/generic/src/security/perm.c


Ignore:
Timestamp:
2018-11-08T11:06:45Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
3875f106, cdf6066
Parents:
b294126
git-author:
Jiri Svoboda <jiri@…> (2018-10-07 19:05:12)
git-committer:
Jiri Svoboda <jiri@…> (2018-11-08 11:06:45)
Message:

Fix kernel panic when perm_revoke() syscall is invoked.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/security/perm.c

    rb294126 r9c75a99d  
    131131         * doesn't have PERM_PERM.
    132132         */
    133         irq_spinlock_unlock(&TASK->lock, false);
     133        irq_spinlock_lock(&TASK->lock, false);
    134134
    135135        if ((!(TASK->perms & PERM_PERM)) || (task != TASK)) {
Note: See TracChangeset for help on using the changeset viewer.