Home
last modified time | relevance | path

Searched refs:fchown (Results 1 - 7 of 7) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/
H A Dmod.rs36 mod fchown; modules
38 pub(crate) use fchown::FchownConfig;
H A Dconnector.rs27 pub(crate) fchown: Option<FchownConfig>,
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/connector/
H A Dmod.rs241 let fchown = self.config.fchown.clone(); in connect()
249 if let Some(fchown) = fchown { in connect()
250 let _ = stream.fchown(fchown.uid, fchown.gid); in connect()
336 fchown, in connect()
361 #[cfg(all(target_os = "linux", feature = "ylong_base", feature = "__tls"))] fchown: Option<
367 if let Some(fchown)
[all...]
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/tcp/
H A Dlistener.rs202 /// This method calls libc::fchown, libc::fchown returns the following
208 /// [`libc::EINTR`]: The fchown() function was interrupted by a signal which was caught.
219 /// server.fchown(0, 0)?;
224 pub fn fchown(&self, uid: uid_t, gid: gid_t) -> io::Result<()> { in fchown() functions
225 self.source.fchown(uid, gid) in fchown()
H A Dstream.rs569 /// This method calls libc::fchown, libc::fchown returns the following in fmt()
575 /// [`libc::EINTR`]: The fchown() function was interrupted by a signal which was caught. in fmt()
588 /// stream.fchown(0, 0)?; in fmt()
593 pub fn fchown(&self, uid: uid_t, gid: gid_t) -> io::Result<()> { in fmt() functions
594 self.source.fchown(uid, gid) in fmt()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/
H A Dclient.rs286 fchown: Option<FchownConfig>,
313 fchown: None, in new()
401 self.fchown = Some(FchownConfig::new(uid, gid)); in sockets_owner()
516 fchown: self.fchown, in build()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/
H A Dasync_source.rs47 pub fn fchown(&self, uid: uid_t, gid: gid_t) -> io::Result<()> { in fchown() functions
48 syscall!(fchown(self.get_fd(), uid, gid))?; in fchown()

Completed in 5 milliseconds