aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* runsystem.hurd.sh: Try to run bash firstSamuel Thibault2024-02-081-1/+1
| | | | | | Some systems have /bin/sh pointing to dash, which is even more stressful for users when running in an emergency. Better first try bash. Also try dash too in case /bin/sh is hosed.
* runsystem.hurd.sh: Print a newline at bootSamuel Thibault2024-02-081-0/+2
| | | | This helps debugging boot issues.
* runsystem.hurd.sh: Do not try to set up translators if we do not have settransSamuel Thibault2024-02-081-1/+1
|
* runsystem.hurd.sh: Make emergency really an emergencySamuel Thibault2024-02-081-2/+2
| | | | | emergency means we want to get a shell as quickly as possible, so we do not want any daemon at all.
* runsystem: Do not eat first parameterSamuel Thibault2024-02-082-4/+0
| | | | It has not been the kernel file name any more for a long time already.
* runsystem: Do not try to set up translators if we do not have settransSamuel Thibault2024-02-081-1/+1
|
* runsystem: Try to run bash firstSamuel Thibault2024-02-081-1/+1
| | | | | | Some systems have /bin/sh pointing to dash, which is even more stressful for users when running in an emergency. Better first try bash. Also try dash too in case /bin/sh is hosed.
* runsystem: do not require bashSamuel Thibault2024-02-082-9/+9
| | | | So that people can install just dash.
* Add missing includeSamuel Thibault2024-02-041-0/+1
| | | | for va_start etc.
* Update rpctrace to use the new ABI for inlined port namesFlavio Cruz2024-01-231-34/+59
| | | | Message-ID: <Za3wnF34kVU0r1TS@jupiter.tail36e24.ts.net>
* trivial hurd manual changes.jbranso@dismail.de2024-01-231-4/+15
| | | | | | | | * doc/hurd.texi (Special Files): added a reference to the zero store. * doc/hurd.texi (Translators): added a sentence about /dev/random. * doc/hurd.texi (Invoking 'mount'): added a short explanation. * doc/hurd.texi (Trivfs Callbacks): added @code{FSTYPE_MISC}. Message-ID: <20230921164822.9227-5-jbranso@dismail.de>
* add a FAT FS section to the hurd manual.jbranso@dismail.de2024-01-231-0/+9
| | | | | * doc/hurd.texi (FAT FS): new section. Message-ID: <20230921164822.9227-4-jbranso@dismail.de>
* describe the ISO-9960 filesystem in the hurd manual.jbranso@dismail.de2024-01-231-1/+4
| | | | | * doc/hurd.texi (ISO-9960): I added in a short explanation. Message-ID: <20230921164822.9227-3-jbranso@dismail.de>
* add a short ext2fs description to the hurd manual.jbranso@dismail.de2024-01-231-2/+12
| | | | | * doc/hurd.texi (Linux Extended 2 FS): added a short description. Message-ID: <20230921164822.9227-2-jbranso@dismail.de>
* describe fixing filesystem corruption in the hurd manual.jbranso@dismail.de2024-01-231-2/+51
| | | | | | | * doc/hurd.texi (Repairing Filesystems): described fixing filesystem corruption. * doc/hurd.texi (Shutdown): added the hurd specific halt-hurd command. Message-ID: <20230921164822.9227-1-jbranso@dismail.de>
* x86_64: utmp uses int32_t to store time so use a temporary variableFlavio Cruz2023-12-311-1/+6
| | | | Message-ID: <ZZBGYmkYNwpoamBm@jupiter.tail36e24.ts.net>
* pfinet: fix type aliasFlavio Cruz2023-12-291-1/+1
| | | | Message-ID: <20231229212105.858759-11-flaviocruz@gmail.com>
* libftpconn: add out >= 2 condition to make GCC happyFlavio Cruz2023-12-291-1/+1
| | | | Message-ID: <20231229212105.858759-10-flaviocruz@gmail.com>
* Fix overflow issues in tmpfs and vmallocateFlavio Cruz2023-12-292-3/+6
| | | | Message-ID: <20231229212105.858759-9-flaviocruz@gmail.com>
* proxy-defpager: add missing return statementFlavio Cruz2023-12-291-0/+2
| | | | Message-ID: <20231229212105.858759-8-flaviocruz@gmail.com>
* Fix a few pointer related warnings.Flavio Cruz2023-12-292-3/+3
| | | | Message-ID: <20231229212105.858759-7-flaviocruz@gmail.com>
* x86_64: use 21 bytes in libps since %z might require more characters.Flavio Cruz2023-12-291-1/+1
| | | | | This makes GCC happy. Message-ID: <20231229212105.858759-6-flaviocruz@gmail.com>
* Fix printf format specifiersFlavio Cruz2023-12-292-2/+2
| | | | Message-ID: <20231229212105.858759-4-flaviocruz@gmail.com>
* Use mach_msg_type_number_t whenever required to avoid warningsFlavio Cruz2023-12-296-12/+15
| | | | Message-ID: <20231229212105.858759-3-flaviocruz@gmail.com>
* Cast bootinfo to struct diskfs_control * to silence warningFlavio Cruz2023-12-291-1/+1
| | | | Message-ID: <20231229212105.858759-2-flaviocruz@gmail.com>
* Initialize a few error variables to avoid GCC warningsFlavio Cruz2023-12-293-3/+3
| | | | Message-ID: <20231229212105.858759-1-flaviocruz@gmail.com>
* Mark msg_thread as noreturnFlavio Cruz2023-12-291-1/+1
| | | | Message-ID: <20231229161211.312389-3-flaviocruz@gmail.com>
* Replace deprecated sigmask with sigset_t callsFlavio Cruz2023-12-295-12/+32
| | | | Message-ID: <20231229161211.312389-2-flaviocruz@gmail.com>
* pfinet and pci-arbiter: update server handlers to return kern_return_t to ↵Flavio Cruz2023-12-297-73/+73
| | | | | | fix -Werror=enum-int-mismatch warnings Message-ID: <20231229161211.312389-1-flaviocruz@gmail.com>
* Update server handlers to return kern_return_error to fix ↵Flavio Cruz2023-12-17122-293/+293
| | | | | | | -Werror=enum-int-mismatch warnings MiG expects those to return kern_return_t. Message-ID: <ZXqbbXpVqQAwd2qv@jupiter.tail36e24.ts.net>
* Update hurd code to handle the new ABI for sending inlined port rights.Flavio Cruz2023-12-172-11/+13
|
* Revert "Update hurd code to handle the new ABI for sending inlined port rights."Samuel Thibault2023-12-032-13/+11
| | | | This reverts commit 33c30b4ff76ca22bdedce4aa41d05736a546d86b.
* Update hurd code to handle the new ABI for sending inlined port rights.Flavio Cruz2023-12-032-11/+13
| | | | Message-ID: <20231124213041.952886-3-flaviocruz@gmail.com>
* lwip: Allocate the loopback netif by defaultJoan Lledó2023-12-021-7/+7
| | | | | | | | | | | | | | | | | | | | | The translator received a null `netif_list` during initialization, this caused a few bugs. When started without parameters, the translator didn't add any new interface to `netif_list`, and that broke any subsequent fsysopts over the translator, as the stack was being initialized again instead of being reconfigured. DHCP was broken because the translator is usually installed without parameters, which are supposed to be added by the DHCP client through fsysopts. The absence of an allocated `netif_list` also prevented configuring a loopback interface. After these changes, starting the translator always allocates one interface and configures it as loopback. Message-ID: <20231202101401.11542-2-jlledom@mailfence.com>
* libports: Make sure we don't leak current RPCs listsSamuel Thibault2023-11-261-0/+2
|
* libports: Force threads to wake up periodicallySamuel Thibault2023-11-261-5/+8
| | | | | | | | | | | | | | | | Quiescence support in port-deref-deferred.c assumes that all threads will sooner or later go through a quiescent state (because it finished processing a message). But that is not true: proc doesn't set a thread timeout, and thus some threads can stay indefinitely stuck in receiving messages. And thus the deferred dereferencing used by ports_destroy_right never gets achieved. This accumulation can be seen by running: while true ; do echo $(echo -n $(echo a)) > /dev/null ; done while running vminfo 4 | wc -l in parallel. Making threads get out of mach_msg at least periodically allows unstucking quiescence generations.
* libports: Add more assertionSamuel Thibault2023-11-261-0/+2
| | | | | flip_generations needs to make sure it is not throwing away a list of objects to be released.
* exec: TODO note about implementing interruptSamuel Thibault2023-11-201-0/+4
|
* libfshelp: type check messages using the full mach_msg_type_t so that it ↵Flavio Cruz2023-11-191-1/+1
| | | | | | works on x86_64. Message-ID: <ZVlHm2xuVaS8SItY@jupiter.tail36e24.ts.net>
* server_verify_make_auth: mig now uses constSamuel Thibault2023-11-121-1/+0
|
* pci.defs: Fix making glibc catch EINTRSamuel Thibault2023-11-121-1/+2
| | | | | INTR_INTERFACE needs to be always called for glibc to redirect mach_msg into _hurd_intr_rpc_mach_msg.
* x86_64: Drop -AT386 part in uname machineSamuel Thibault2023-11-061-3/+10
| | | | | | We don't really have plans to have anything else than "AT386" there, and other OSes do not include it, so it brings us more harm than good to include it.
* MAKEDEV: Add pseudo-root targetSamuel Thibault2023-11-021-0/+4
|
* proc: Fix missing freeSamuel Thibault2023-11-011-0/+1
| | | | | | On MACH_SEND_TIMED_OUT we defer sending the message to just-created thread, we allocate a copy of the message to that end. We need to free that once the message is indeed sent.
* proc: proc_get{pgrp,session}p{,g}ids do have dealloc flagSamuel Thibault2023-11-011-3/+0
| | | | This was added by 7487dda5f
* rumpdisk: Fix dependencies computationSamuel Thibault2023-09-131-4/+4
|
* pflocal: Remove unused write_addr fieldSamuel Thibault2023-09-042-10/+1
| | | | | It was never set, and re-connecting a socket to another address would try to deref the port, thus crashing.
* S_dir_lookup: Handle O_DIRECTORYSamuel Thibault2023-09-022-2/+3
| | | | | When e.g. looking up a socket with O_DIRECTORY, we should return ENOTDIR rather than EACCESS.
* Revert "S_dir_lookup: Handle O_DIRECTORY"Samuel Thibault2023-09-022-2/+2
| | | | | | This reverts commit 8b5b59c704e9edbb0784697ada1df9112fc3e18b. This actually breaks various posix behaviors.
* S_dir_lookup: Handle O_DIRECTORYSamuel Thibault2023-09-022-2/+2
| | | | | When e.g. looking up a socket with O_DIRECTORY, we should return ENOTDIR rather than EACCESS.