attempting to bind() an already bound UNIX domain socket returns EINVAL (kre)
[unix-history] / usr / src / sys / kern / kern_xxx.c
index d39feb3..ec70847 100644 (file)
@@ -1,4 +1,10 @@
-/*     kern_xxx.c      6.2     84/08/29        */
+/*
+ * Copyright (c) 1982 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ *
+ *     @(#)kern_xxx.c  6.4 (Berkeley) %G%
+ */
 
 #include "param.h"
 #include "systm.h"
 
 #include "param.h"
 #include "systm.h"
@@ -341,7 +347,7 @@ ossig()
                return;
        }
        sv->sv_mask = 0;
                return;
        }
        sv->sv_mask = 0;
-       sv->sv_onstack = 0;
+       sv->sv_flags = SV_INTERRUPT;
        u.u_r.r_val1 = (int)u.u_signal[a];
        setsigvec(a, sv);
        p->p_flag |= SOUSIG;            /* mark as simulating old stuff */
        u.u_r.r_val1 = (int)u.u_signal[a];
        setsigvec(a, sv);
        p->p_flag |= SOUSIG;            /* mark as simulating old stuff */