Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177837207
D52835.1795398157.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
568 B
Referenced Files
None
Subscribers
None
D52835.1795398157.diff
View Options
Index: sys/dev/vt/vt_core.c
===================================================================
--- sys/dev/vt/vt_core.c
+++ sys/dev/vt/vt_core.c
@@ -3072,9 +3072,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
Mon, Nov 23, 1:42 AM (8 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41920091
Default Alt Text
D52835.1795398157.diff (568 B)
Attached To
Mode
D52835: vt: Allow VT_SETMODE with frsig=0
Attached
Detach File
Event Timeline