Skip to content

Commit 3063aa1

Browse files
committed
Auto merge of #2654 - anp:fuchsia-dt-unknown, r=Amanieu
Define DT_UNKNOWN on Fuchsia. It looks like this constant is relied on in the new `remove_dir_all` logic and we need to reference it to be able to use the CVE fix correctly on Fuchsia.
2 parents a79788f + af30859 commit 3063aa1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/fuchsia/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1313,6 +1313,7 @@ pub const SIG_DFL: sighandler_t = 0 as sighandler_t;
13131313
pub const SIG_IGN: sighandler_t = 1 as sighandler_t;
13141314
pub const SIG_ERR: sighandler_t = !0 as sighandler_t;
13151315

1316+
pub const DT_UNKNOWN: u8 = 0;
13161317
pub const DT_FIFO: u8 = 1;
13171318
pub const DT_CHR: u8 = 2;
13181319
pub const DT_DIR: u8 = 4;

0 commit comments

Comments
 (0)