Skip to content

Commit d8e935e

Browse files
committed
cleanup: remove old patches
1 parent c8455dd commit d8e935e

File tree

2 files changed

+2
-21
lines changed

2 files changed

+2
-21
lines changed

repos/patches/proxmox/fix-result-ok.patch

Lines changed: 0 additions & 18 deletions
This file was deleted.

repos/patches/pve-common/mknodat.patch

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@ diff --git a/src/PVE/Tools.pm b/src/PVE/Tools.pm
1515
index fe9616e..e9b7578 100644
1616
--- a/src/PVE/Tools.pm
1717
+++ b/src/PVE/Tools.pm
18-
@@ -1817,7 +1817,8 @@ sub mkdirat($$$) {
18+
@@ -1817,7 +1817,7 @@ sub mkdirat($$$) {
1919

2020
sub mknod($$$) {
2121
my ($filename, $mode, $dev) = @_;
2222
- return syscall(PVE::Syscall::mknod, $filename, int($mode), int($dev)) == 0;
23-
+ # AT_FDCWD = -100
24-
+ return syscall(PVE::Syscall::mknodat, -100, $filename, int($mode), int($dev)) == 0;
23+
+ return syscall(PVE::Syscall::mknodat, AT_FDCWD, $filename, int($mode), int($dev)) == 0;
2524
}
2625

2726
sub fchownat($$$$$) {

0 commit comments

Comments
 (0)