Age | Commit message (Collapse) | Author |
|
Since it can free more than one block.
|
|
Inline data in i_data is only used by symlinks (and apparently some
device nodes in linux). For regular files and directories we don't store
data there. This is actually important since otherwise
int fd = open("foo.txt", O_WRONLY|O_CREAT);
ftruncate(fd, 1024);
ftruncate(fd, 10);
leads to trying to frob beyond i_data end.
|
|
i.e. superblock, block group descriptor table or beyond the end.
|
|
initscripts apparently tries to mount /run before calling swapon
|
|
i.e. superblock, block group descriptor table or beyond the end.
|
|
This reverts commit 86ea895b1a208925dfc034fac22db2a512a3fab8.
We are really not supposed to have failed to find the block here, it
should have been allocated by pager_unlock_page already.
|
|
find_block ignores EINVAL errors, we need to reconstruct it
|
|
|
|
They really should not be split for the application, and really should
not be queued several times because otherwise we would record the source
several times and get a reference miscount.
|
|
|
|
It may have changed while sleeping.
|
|
While sleeping in pthread_hurd_cond_timedwait_np, current->signal will be
overwritten by the management of other RPCs, so we have to give it some
value on wake up.
Also, if we previously got interrupted, we shouldn't ever try to wait again
until exiting from the RPC: an interrupt means we really want to try hard to
finish the RPC.
Thanks Zhaoming Luo <zhmingluo@163.com> for the deep investigation and
draft!
|
|
For >4G size we need to force 64bit computation on 32bit systems.
|
|
E.g in the "Negative lookup cached." error case, diskfs_lookup clears
NP, so we would segfault.
|
|
* libshouldbeinlibc/lcm.c: make gcd static since it's not exposed as a
symbol.
* pfinet/linux-src/net/ipv4/{tcp,udp}_ipv4.c: Drop inline from lookup functions
since they are used in another module (icmp.c) and shouldn't be removed.
* term/munge.c: make poutput static since it's not exposed as a symbol.
Message-ID: <nmok54owdbglalqkw2ky76jzvn4vvyybpqtftruzhpixcsx7fo@jbphrribcxq5>
|
|
Which allows not to start it unless swap is configured, so Mach can know
when it is not and avoid trying to use a default memory manager.
|
|
It's "supported" only there for now.
|
|
Newer ports won't have it either.
|
|
|
|
|
|
The term_getctty() should accept pty_class. The vim testsuite expects
the master side to say isatty().
See
https://mail.gnu.org/archive/html/bug-hurd/2025-02/msg00061.html
* term/users.c: The term_getctty() accepts pty_class
Message-ID: <20250208103220.853-1-zhmingluo@163.com>
|
|
So the kernel gives us vm_privilege so we can work even when memory is
getting low.
|
|
Instead of killing the whole object.
|
|
|
|
To give explanation to processes suddenly crashing with SIGBUS.
|
|
This avoids
Assertion `!diskfs_readonly' failed.
messages at shutdown.
|
|
|
|
|
|
Next rumpkernel upload will use it.
|
|
|
|
* procfs/rootdir.c: (rootdir_gc_cpuinfo) new function
(rootdir_entries) add entry for cpuinfo file
(cpuinfo_x86, cpuinfo_aarch64) implementations for x86 and
aarch64 respectively.
|
|
when processes which were upgraded didn't get restarted, and stop after
making the filesystem readonly.
|
|
|
|
The usb stack also uses SCSI emulation for usb mass storage.
Message-ID: <20250111082129.1566079-1-damien@zamaudio.com>
|
|
Just backtrace for now
|
|
|
|
Message-ID: <20250102004552.26250-1-zhmingluo@163.com>
|
|
|
|
This is making startup completely ignore parameters when root= is passed
first on the kernel command line.
|
|
Proxied memory was not rounded up to page size, causing
error with vm_map'ing the underlying memory.
WARNING: Assumes pci memory resources are at least page aligned.
If not, this will expose part of next resource to userspace.
Message-ID: <20241228073545.712061-1-damien@zamaudio.com>
|
|
Typically for a control socket we need to be able to connect several
times to it.
This notably fixes the control socket of sv.
|
|
Message-ID: <20241228063834.709656-1-damien@zamaudio.com>
|
|
Return positive error code when return value indicates error.
Message-ID: <20241228073512.711999-1-damien@zamaudio.com>
|
|
Now that acpi uses libirqhelp, the latter shouldn't be trying to lookup
the former through the FS.
|
|
Otherwise we would take the error as irq number.
|
|
get_privileged_ports adds a port ref, so we have to deallocate it.
|
|
Signed-off-by: Zhaoming Luo <zhmingluo@163.com>
Message-ID: <20241213005831.748151-1-zhmingluo@163.com>
|
|
A /hurd/rtc translator will be created as, users can create a /dev/rtc
device using the following command:
```
sudo settrans -c /dev/rtc /hurd/rtc
```
* Makefile: add rtc-cmos server into the compile chain
* hurd/pioctl.defs: new file. Interfaces for rtc ioctl operations
* hurd/rtc.h: new file. Interfaces for rtc device
* rtc/Makefile: new file. Makefile for rtc server
* rtc/main.c: new file. Initialisation for rtc translator
* rtc/mig-mutate.h: new file. Type translation for rtc server
* rtc/rtc-cmos_pioctl-ops.c: new file. The rtc-cmos server-side implementation
Signed-off-by: Zhaoming Luo <zhmingluo@163.com>
Message-ID: <20241211005415.507656-2-zhmingluo@163.com>
|
|
|
|
Until we make gnumach fully parallel, we need a way to execute
on slave processor set on smp-enabled gnumach.
For example:
$ /sbin/smp /bin/bash
$
will launch a shell that executes commands only within slave pset,
consisting of all processors except processor 0.
We can thus test parallelism on Hurd in a controlled way.
Message-ID: <20241126103747.353948-1-damien@zamaudio.com>
|