Ttyama501[net] Add net to CONFIG_APPS_1232K
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[build] Cleanup Makefiles, add RM, remove Make.rules | 1 年前 | |
ash/mkinit: use rename() instead of link()+unlink() to install init.c mkinit generates init.c into a temp (init.c.new) and, when the content changed, installs it with the classic pre-rename() atomic-move idiom: unlink(OUTFILE); link(OUTTEMP, OUTFILE); unlink(OUTTEMP); The link() is a hardlink, and its return value is unchecked. On any filesystem without hardlink support this silently fails, then unlink() removes the temp, leaving init.c nonexistent -- the ash build then dies with "init.c: No such file or directory". This happens on VirtualBox shared folders (vboxsf), WSL drvfs, and some FUSE/CIFS mounts, which makes ELKS unbuildable from a source tree on such a mount. rename() performs the same atomic move, preserves the change-detection / skip-recompile behaviour, is behaviourally identical on Linux, and works on filesystems that lack hardlinks. link()+unlink() dates from before rename() (4.2BSD, 1983) was widely portable; that constraint is long gone. Same portability class as the elf2elks fd-close fix (PR #2765). | 2 个月前 | |
[net] Change meaning of SO_RCVBUF to set connect/accept buffer size Adds SO_NOBUFFER which replaces previous SO_RCVBUF to eliminate listen socket buffer | 1 个月前 | |
[basic] Updated README for RANDOMIZE | 1 个月前 | |
[cmds] Remove yacc requirement for building bc | 1 年前 | |
[net,cmds] Light cleanup of unused network code, add UDP display to netstat | 1 个月前 | |
[build] Cleanup Makefiles, add RM, remove Make.rules | 1 年前 | |
Cleanup telnet multiple source files | 10 个月前 | |
[cmds] Re-read partition table after fdisk write partition, no reboot required | 3 个月前 | |
[ekermit] Add gitignore | 5 个月前 | |
[cmds] Increase ANSI DSR delay for possibly network delays | 8 个月前 | |
[cmds] Allow max 16k buffer in dd, disallow SBRK kernel error | 3 个月前 | |
Distribute OWC/C86 apps using Applications file | 10 个月前 | |
move paint /lib/*.bmp to /lib/paint/*.bmp | 7 个月前 | |
[net] Change meaning of SO_RCVBUF to set connect/accept buffer size Adds SO_NOBUFFER which replaces previous SO_RCVBUF to eliminate listen socket buffer | 1 个月前 | |
[net] Allow ktcp to send RST to reject connections w/o allocating memory | 1 个月前 | |
[libc] Fix minor bug in lib/tiny_printf.c with sprintf overflow | 10 个月前 | |
lp man pages | 2 年前 | |
[cmds] Implementation of sudo (#2805) * Initial implementation * fixes from testing * add man page * use err str instead of printf * restore qemu.sh to master --------- Co-authored-by: derekjohansen <derekjohansen1@gmail.com> | 1 个月前 | |
head, tail, uniq: use long counts to avoid 16-bit overflow On ia16 int is 16 bits, so counts above 32767 overflowed: head -n and tail -n/-c/+N parsed with atoi into int, and uniq -c wrapped its duplicate counter. wc/grep/du/sum/cksum already use long. Verified on ELKS: yes | head -40000 | wc -l now prints 40000 (was empty), uniq -c prints 40000 (was negative), and tail +79000c skips correctly (byte-exact output). | 2 个月前 | |
[cmds] Further tricky fixes for change in wait4/waitpid operation from #2653 | 4 个月前 | |
head, tail, uniq: use long counts to avoid 16-bit overflow On ia16 int is 16 bits, so counts above 32767 overflowed: head -n and tail -n/-c/+N parsed with atoi into int, and uniq -c wrapped its duplicate counter. wc/grep/du/sum/cksum already use long. Verified on ELKS: yes | head -40000 | wc -l now prints 40000 (was empty), uniq -c prints 40000 (was negative), and tail +79000c skips correctly (byte-exact output). | 2 个月前 | |
[cmds] Keep existing terminal baud rate when running miniterm from serial port From @Mellvik TLVC #231 | 6 个月前 | |
[romprg] Fixed error in testing for completition with Data# Polling (DQ7) Changed type of addr parameter in function flash_wait_dq() from uint8_t to uint32_t because erasing a sector somtimes hangs forever. Acording to the datasheet of the 29F040 "Polling must be performed at sector address within any of the sectors being erased". I also activated this in the flash_write_byte() function. Works now for SST39SF040. Can't test this for AM29F040! | 10 个月前 | |
[net] Fix network hang, leak and race issues in kernel and ktcp tcpdev_read()/tcpdev_connect(): Return -EPIPE or -ECONNREFUSED instead of no reply at all, which would hang the network due to the read/connect being blocked on a single reply buffer in the tcpdev ktcp<->kernel transfer driver. Fixes network stack hangs during read or connect when CB is deallocated through a received RST or any other reason that deallocates an active CB. tcp_established(): decrement tcpcb_need_push when a RST frees a CB that still has unread data to stop continual AVAIL_DATA notifications. tcp_synrecv(): free the cloned CB on RST rather than only resetting state, each half-open RST leaked ~4.5K. inet_process_tcpdev() / TDT_ACCEPT: Copy accept() result out immediately and and release bufin_sem, which breaks a bufin_sem/bufout_sem deadlock between ktcp and ftpd under load. | 1 个月前 | |
[cmds] Fix to allow negative pid argument to kill to kill process group | 9 个月前 | |
[kernel] Increase size of max UNIX socket name to 20 | 9 个月前 | |
Fix bug in write where recepient username is printed instead of sender username | 1 个月前 | |
[cmds] Implementation of sudo (#2805) * Initial implementation * fixes from testing * add man page * use err str instead of printf * restore qemu.sh to master --------- Co-authored-by: derekjohansen <derekjohansen1@gmail.com> | 1 个月前 | |
[kernel] Move _MK_FP etc macros out of linuxmt/memory.h to linuxmt/segment.h This cleans up getting 8086 segment macros out of the memory manager header file. User programs requiring <linuxmt/memory.h> should use <linuxmt/memory.h>, although backwards compatibility is provided for now. | 2 个月前 | |
Cleanup and add other changes by @hexadec1mal | 10 个月前 | |
[build] Move unused/non-compiled commands to elkscmd/unused | 7 个月前 | |
[build] Finalize image contents and build for v0.9.2 | 21 天前 | |
Add GEM Desktop as an external application buildext.sh: add a gem() function that clones and builds parabyte/Gem-elks, and include it in make_all. ExtApplications: install the GEM server, Desktop and applications to /bin, and the GEM.RSC, font and icon resources to /GEMAPPS/GEMSYS, under the :gem tag. | 1 个月前 | |
Rename elkscmd COPYING to LICENSE and update text | 7 年前 | |
[net] Add net to CONFIG_APPS_1232K | 7 天前 | |
Restructure audio into elkscmd/audio, audio_sb/audio_mad, linuxmt/audio.h Per review on PR #2788: - Apps moved to a new elkscmd/audio/ directory and all named audio*: sys_utils/audioplay, sys_utils/sbmix and inet/audiorecv become audio/audioplay, audio/audiomix and audio/audiorecv. - Char drivers renamed audio_sb.c and audio_mad.c, built by CONFIG_AUDIO_SB and CONFIG_AUDIO_MAD. config.in keeps only the CONFIG_CHAR_DEV_DSP question and define_bool's the two driver symbols from it. - linuxmt/soundcard.h becomes linuxmt/audio.h, holding just the /dev/dsp ABI; card registers, DSP commands and the mixer layout move to the new arch/audio_sb.h. sys/soundcard.h now shims onto audio.h. - The ioctl set is cut to what the driver implements; the SOUND_PCM_ aliases are gone and callers use the SNDCTL_ names. oss_int32_t is deleted: the kernel uses __s32, and the apps use int32_t from stdint.h. - AFMT_ becomes DSP_FMT_, with only the query and unsigned-8-bit values that are implemented, as plain integers. - CONFIG_SB_PORT, _IRQ, _DMA and _BUFSIZE leave the config file and become SB_PORT, SB_IRQ, SB_DMA and SB_BUFSIZE in arch/ports.h alongside the other card defaults. Their Configure.help text moves to Documentation/text/soundblaster.txt, which is dsp-sb.txt renamed. Kernel, elkscmd/audio, sys_utils and inet all build clean. | 1 个月前 | |
Automake OWC in elkscmd/Makefile if CONFIG_APPS_OWC set | 10 个月前 | |
Fix some typos in docs and comments | 3 年前 | |
Basic Unix Utilities for ELKS. | 27 年前 | |
[build] Move unused/non-compiled commands to elkscmd/unused | 7 个月前 |