1995-02-06 22:37:22 +00:00
|
|
|
diff -c ./Imakefile ../seyon.new/Imakefile
|
|
|
|
*** ./Imakefile Sat Mar 27 22:20:12 1993
|
|
|
|
--- ../seyon.new/Imakefile Fri Feb 3 07:51:12 1995
|
|
|
|
***************
|
|
|
|
*** 11,16 ****
|
|
|
|
--- 11,19 ----
|
|
|
|
DEPLIBS =
|
|
|
|
LOCAL_LIBRARIES = XawClientLibs
|
|
|
|
|
|
|
|
+ /* We need seyon to be sgid dialer */
|
|
|
|
+ INSTPGMFLAGS = -s -m 2755 -o bin -g dialer
|
|
|
|
+
|
|
|
|
/* SYS_LIBRARIES = -lm */
|
|
|
|
|
|
|
|
SRCS = Seyon.c SeActions.c SeScan.c SeDial.c SeErr.c SeGeneric.c \
|
|
|
|
Only in .: Makefile
|
|
|
|
diff -c ./SePort.c ../seyon.new/SePort.c
|
|
|
|
*** ./SePort.c Wed Apr 21 15:38:31 1993
|
|
|
|
--- ../seyon.new/SePort.c Fri Feb 3 07:37:50 1995
|
1994-10-04 15:00:39 +00:00
|
|
|
***************
|
|
|
|
*** 627,645 ****
|
|
|
|
#endif
|
|
|
|
break;
|
|
|
|
#if USE_NONSTD_BAUD
|
|
|
|
- #ifdef linux
|
|
|
|
case 57600:
|
|
|
|
baudrate = B38400;
|
|
|
|
ser_io.flags &= ~ASYNC_SPD_MASK;
|
|
|
|
ser_io.flags |= ASYNC_SPD_HI;
|
|
|
|
break;
|
|
|
|
case 115200:
|
|
|
|
baudrate = B38400;
|
|
|
|
ser_io.flags &= ~ASYNC_SPD_MASK;
|
|
|
|
ser_io.flags |= ASYNC_SPD_VHI;
|
|
|
|
break;
|
|
|
|
#endif
|
|
|
|
- #endif
|
|
|
|
default:
|
|
|
|
return (-1);
|
|
|
|
}
|
|
|
|
--- 627,651 ----
|
|
|
|
#endif
|
|
|
|
break;
|
|
|
|
#if USE_NONSTD_BAUD
|
|
|
|
case 57600:
|
|
|
|
+ #ifdef linux
|
|
|
|
baudrate = B38400;
|
|
|
|
ser_io.flags &= ~ASYNC_SPD_MASK;
|
|
|
|
ser_io.flags |= ASYNC_SPD_HI;
|
|
|
|
+ #else
|
|
|
|
+ baudrate = B57600;
|
|
|
|
+ #endif
|
|
|
|
break;
|
|
|
|
case 115200:
|
|
|
|
+ #ifdef linux
|
|
|
|
baudrate = B38400;
|
|
|
|
ser_io.flags &= ~ASYNC_SPD_MASK;
|
|
|
|
ser_io.flags |= ASYNC_SPD_VHI;
|
|
|
|
+ #else
|
|
|
|
+ baudrate = B115200;
|
|
|
|
+ #endif
|
|
|
|
break;
|
|
|
|
#endif
|
|
|
|
default:
|
|
|
|
return (-1);
|
|
|
|
}
|
|
|
|
***************
|
|
|
|
*** 691,696 ****
|
|
|
|
--- 697,710 ----
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
return 38400;
|
|
|
|
+ #if USE_NONSTD_BAUD
|
|
|
|
+ #ifndef linux
|
|
|
|
+ case B57600:
|
|
|
|
+ return(57600);
|
|
|
|
+ case B115200:
|
|
|
|
+ return(115200);
|
|
|
|
+ #endif
|
|
|
|
+ #endif
|
|
|
|
}
|
|
|
|
|
|
|
|
SeError("Consistency error in baud rate");
|
1995-02-06 22:37:22 +00:00
|
|
|
Only in ../seyon.new: SePort.c.orig
|
|
|
|
diff -c ./SeSubs.c ../seyon.new/SeSubs.c
|
|
|
|
*** ./SeSubs.c Fri Apr 23 12:24:17 1993
|
|
|
|
--- ../seyon.new/SeSubs.c Fri Feb 3 07:47:37 1995
|
|
|
|
***************
|
|
|
|
*** 249,254 ****
|
|
|
|
--- 249,256 ----
|
|
|
|
|
|
|
|
if (setuid(getuid()) < 0)
|
|
|
|
SePError("Failed to set effective uid");
|
|
|
|
+ if (setgid(getgid()) < 0)
|
|
|
|
+ SePError("Failed to set effective gid");
|
|
|
|
|
|
|
|
if (*scmd == '\0') {
|
|
|
|
SeNotice(FmtString1("Executing the shell ``%s''", shell));
|
|
|
|
diff -c ./config.h ../seyon.new/config.h
|
|
|
|
*** ./config.h Wed Apr 21 14:47:48 1993
|
|
|
|
--- ../seyon.new/config.h Fri Feb 3 07:37:50 1995
|
1994-10-04 15:00:39 +00:00
|
|
|
***************
|
|
|
|
*** 81,86 ****
|
1995-07-29 12:23:12 +00:00
|
|
|
--- 81,94 ----
|
1994-10-04 15:00:39 +00:00
|
|
|
#define HAVE_USLEEP YES
|
|
|
|
#endif
|
|
|
|
|
|
|
|
+ #ifdef __FreeBSD__
|
|
|
|
+ #define USE_NONSTD_BAUD YES
|
|
|
|
+ #define LF_PATH "/var/spool/lock"
|
|
|
|
+ #define LF_PREFIX "LCK.."
|
1995-07-29 12:23:12 +00:00
|
|
|
+ #define LF_USE_ASCII_PID YES
|
|
|
|
+ #define LF_USE_DEV_NUMBERS NO
|
1994-10-04 15:00:39 +00:00
|
|
|
+ #endif
|
|
|
|
+
|
|
|
|
#ifdef SVR4
|
|
|
|
#define HAVE_TERMIOS YES
|
|
|
|
#define HAVE_MODEM_CONTROL YES
|