Age | Commit message (Collapse) | Author |
|
Note that I have altered the specification of the argument value so that the
version can be specified without the program number rather than the other way
around. I think it is much more likely the version would be specified than the
program number.
|
|
|
|
to retrieve the true identity.
|
|
|
|
as its conclusion was valid and now implemented.
|
|
There was little overlap with the v2 code so it got an entirely separate
implementation. There is the possibility of completing statfs.f_namelen
properly using FSINFO3 and PATHCONF3 rpc calls but I didn't know if
f_namelen should be the maximum length for a file name component or the
entire file name path.
|
|
|
|
|
|
whilst attempting to lock an already held mutex.
|
|
|
|
We want to drop the slice part only in the partstore case.
(but still want to change the device in case of USB disk)
|
|
|
|
The v3 netfs_attempt_create_file() uses the 'exclusive' creation protocol
which cannot specify the file permission bits or uid/gid. These need to be
applied post-creation using SETATTR3. There was a missing call to do the chmod
part which I've added. Previously the call to chown that was present did not
consider the return value. I have done so.
|
|
Use the 64 bit value required for v3 'offset' and process opaque_data part
of the reply properly.
|
|
for unlikely case of RPC init failure and processing of v3 reply
|
|
This adds new code to process the reply from a file creation operation that
applies equally to CREATE3, MKDIR3, SYMLINK3 and MKNOD3. RFC1813 permits
a reply without the created file's handle and it might be necessary to
perform a LOOKUP3 on the created file post-creation. Debian Linux NFSV3
server actually always returns the handle when compiling gnumach however
I have tested the case where it might not by adding code (now removed) to
pretend the handle wasn't present in the reply. I expect therefore that the
'skip_returned_stat' function that is added is rarely called.
Fixed netfs_attempt_mkdir() to process the NFSv3 reply properly.
|
|
|
|
|
|
|
|
Better use the stdint.
Also export them, they will be useful generally.
|
|
|
|
This allows top to show Cpu0 to CpuN idle stats when you press 1.
TESTED: on UP and SMP gnumach with debian hurd-i386.
Message-ID: <20250707092520.62819-1-damien@zamaudio.com>
|
|
|
|
|
|
|
|
rumpusbdisk's driving of USB sticks won't interfere with gnumach
operating SATA.
|
|
This provides a functional rumpdisk and rumpusbdisk
with or without static linkage of librump.
Message-ID: <20250701141609.152652-1-damien@zamaudio.com>
|
|
|
|
The VGA boards may not like AVX-whatnot-optimized 512B accesses. E.g.
qemu does not support it and raises an invalid opcode trap.
|
|
COLOR_PAIR takes a color pair, it does not produce one.
|
|
that pass through to /dev/usbdisk.
|
|
* libpager/demuxer.c(pager_start_workers): set current and max RLIMIT_AS
to RLIM_INFINITY when the current user has access to the privileged host
port.
Message-ID: <20250616225815.844-2-dnietoc@gmail.com>
|
|
Fall back to bios defaults for requests for irq 9.
Ideally we could check the PIIX3 bridge device exists on
pci, but that would require pci access before pci-arbiter
exists. This is a convenient workaround for now.
Message-ID: <20250622073557.188295-1-damien@zamaudio.com>
|
|
|
|
|
|
|
|
This was offsetting all values on the parameters stack
|
|
Previously, ‘accept’ would return an O_NONBLOCK socket if the listening
socket was O_NONBLOCK at the time the connection was made. With this
change, ‘accept’ always returns a socket where O_NONBLOCK is cleared.
|
|
|
|
Use 64bit mapped time values in maptime_read when the kernel and the
mapped_time_value structure in header file time_value.h support it.
Otherwise step back to use the 32bit time.
Message-ID: <20250503132808.15359-1-zhmingluo@163.com>
|
|
54c0b9b9dbf7 ("ext2fs: Trap trying to access bogus data areas") added
checks on the allocated block number, but did not take care of the
out-of-space condition, which callers of ext2_new_block and
ext2_alloc_block know to handle.
|
|
This fixes making diskfs_catch_exception recursive, catching the last
fault exception, and fixes callers.
|
|
tmpfs loses files when they are unlinked but still mapped.
|
|
Message-ID: <20250402092354.293338-1-zhmingluo@163.com>
|
|
So that if we get a lazily-cleaned inode, we do not get disturbed by the
values, notably i_file_acl and i_dir_acl were not cleaned, and
i_block_group not checked.
b0ff48880bb40 ("Formerly ialloc.c.~6~") introduced only setting
dn_set_ctime when cleanup was missing, but we always want to set the
ctime for a new inode anyway.
|
|
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.
|