• src/sbbs3/sbbscon.c

    From rswindell@VERT to CVS commit on Sun Mar 22 17:37:24 2020
    src/sbbs3 sbbscon.c 1.277 1.278
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv28985

    Modified Files:
    sbbscon.c
    Log Message:
    Clean-up some of this USE_LINUX_CAPS patch, but honestly, I think it's
    time for it to go away. Using 'sudo setcap sbbs' during build seems like the better, more supported solution.



    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Mar 22 18:45:52 2020
    src/sbbs3 sbbscon.c 1.278 1.279
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv6632

    Modified Files:
    sbbscon.c
    Log Message:
    Only do the whole Linux-capabilities dance when run as root (user-id 0).
    This eliminates the error messages that would be displayed/logged when attempting the SYS_capset SYSCALL, which fails when not root.

    So the capabilities dance enabled with USE_LINUX_CAPS (which is automatically enabled when /usr/include/sys/capabilites.h exists, which is installed with
    the libcap2-dev package) apparently is still useful if you need to start
    sbbs as root: the main thread will remain as root even when the child
    threads have their user-id's changed to the user specified in the [UNIX] section of sbbs.ini or on the command-line
    - so reducing the enabled privilege set for this root/main thread to the minimum needed, is a good security measure. It does this reduction (call to linux_minprivs() after the call to change_user()) so I'm not exactly sure how that works, but according to Deuce, this is what's happening. :-/



    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon Apr 13 14:36:19 2020
    src/sbbs3 sbbscon.c 1.279 1.280
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv25670

    Modified Files:
    sbbscon.c
    Log Message:
    Add "version" command-line option to display version/revision details (ala the SBBSCTRL "About" dialog box) and then exit.


    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Aug 2 20:30:27 2020
    src/sbbs3 sbbscon.c 1.280 1.281
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv22134

    Modified Files:
    sbbscon.c
    Log Message:
    Print the target architecture of sbbs along with the target platform/OS
    (e.g. Linux-armv6 for rPi).



    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Jan 18 18:34:17 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/474ecc554b7eaaeb875fd001
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    Fix JSDOCS WITH_SDL build.

    Apparently, whatever was making this not link before has been fixed,
    and so this workaround was breaking it.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Thu Mar 27 18:50:18 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/325334ccba2366d6ef68e73c
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    If sbbs is passed a directory, use that as a the ctrl-dir (to find sbbs.ini)

    To be consistent with how sbbsctrl.exe works

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Fri Jan 2 01:04:55 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/4c5295ed3c2881ec75d79358
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    .h

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Tue Feb 24 17:33:17 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/6cd9eab93a086ea857dfdd89
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    OR on zero to be pedantically correct

    personality() takes an execution domain in the lower byte and flags
    in the top three bytes. PER_LINUX is zero, so this doesn't do anything,
    but it's technically incorrect to not specify a domain.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wed Feb 25 08:29:04 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/ae1b80793588fc111edcea15
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    Add commented-out code for issue 685

    Deon George should be able to comment-out, uncomment the various
    options to see which of them work (if any).

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wed Feb 25 15:52:09 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/abbdd973f2f6af9580ab424e
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    Add include so mmap() can be called on aarch64.

    Whoops.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wed Feb 25 18:27:55 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/f92b7705d55027cb176e2eff
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    These things didn't work, remove them.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wed Mar 11 00:14:47 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/1c308226dba259a548ec562d
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    Add command to (S)tart servers

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wed Mar 11 18:48:08 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/3d3163bcb4b9ab1394f61635
    Modified Files:
    src/sbbs3/sbbscon.c
    Log Message:
    Combine the (s)tart/(s)hutdown servers command

    Make the prompt for which server to (T)erminate, (S)hutdown/Start, or (R)ecycle re-display when there new log messages appear

    improving usability

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net