Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154363551
D52835.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
534 B
Referenced Files
None
Subscribers
None
D52835.diff
View Options
diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c
--- a/sys/dev/vt/vt_core.c
+++ b/sys/dev/vt/vt_core.c
@@ -3046,9 +3046,9 @@
DPRINTF(5, "reset WAIT_ACQ, ");
return (0);
} else if (mode->mode == VT_PROCESS) {
- if (!ISSIGVALID(mode->relsig) ||
- !ISSIGVALID(mode->acqsig) ||
- !ISSIGVALID(mode->frsig)) {
+ if (!(ISSIGVALID(mode->relsig) &&
+ ISSIGVALID(mode->acqsig) &&
+ (mode->frsig == 0 || ISSIGVALID(mode->frsig)))) {
DPRINTF(5, "error EINVAL\n");
return (EINVAL);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 29, 3:06 AM (4 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32320665
Default Alt Text
D52835.diff (534 B)
Attached To
Mode
D52835: vt: Allow VT_SETMODE with frsig=0
Attached
Detach File
Event Timeline
Log In to Comment