diff options
author | julian <julian@FreeBSD.org> | 2003-02-17 09:55:10 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2003-02-17 09:55:10 +0000 |
commit | af55753a063a04a847a53c2946cd5fbf413a1e0f (patch) | |
tree | 775429b184310789a1eb3bc1be8451f6faf1abf4 /sys/security/mac_lomac | |
parent | 653bc68f5387baeae2f13b7f346d29659904e188 (diff) | |
download | FreeBSD-src-af55753a063a04a847a53c2946cd5fbf413a1e0f.zip FreeBSD-src-af55753a063a04a847a53c2946cd5fbf413a1e0f.tar.gz |
Move a bunch of flags from the KSE to the thread.
I was in two minds as to where to put them in the first case..
I should have listenned to the other mind.
Submitted by: parts by davidxu@
Reviewed by: jeff@ mini@
Diffstat (limited to 'sys/security/mac_lomac')
-rw-r--r-- | sys/security/mac_lomac/mac_lomac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac_lomac/mac_lomac.c b/sys/security/mac_lomac/mac_lomac.c index 0e796fd..8351c00 100644 --- a/sys/security/mac_lomac/mac_lomac.c +++ b/sys/security/mac_lomac/mac_lomac.c @@ -530,7 +530,7 @@ maybe_demote(struct mac_lomac *subjlabel, struct mac_lomac *objlabel, subj->mac_lomac.ml_rangehigh = objlabel->ml_single; subj->mac_lomac.ml_flags |= MAC_LOMAC_FLAG_UPDATE; mtx_lock_spin(&sched_lock); - curthread->td_kse->ke_flags |= KEF_ASTPENDING; + curthread->td_flags |= TDF_ASTPENDING; curthread->td_proc->p_sflag |= PS_MACPEND; mtx_unlock_spin(&sched_lock); subjtext = subjlabeltext = objlabeltext = xxx; |