mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 01:13:23 +00:00
Record the original bound name
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
6b50d28ba1
commit
f499f54cf5
@ -88,12 +88,12 @@ static int sk_accepted;
|
||||
#define UNNAMED_ADDRLEN PATH_OFFSET
|
||||
|
||||
#define BOUND_ADDR \
|
||||
((struct sockaddr_un){ .sun_family = AF_UNIX, .sun_path = "/tmp/B0" })
|
||||
#define BOUND_ADDRLEN (PATH_OFFSET + 8)
|
||||
((struct sockaddr_un){ .sun_family = AF_UNIX, .sun_path = "//tmp/B0" })
|
||||
#define BOUND_ADDRLEN (PATH_OFFSET + 9)
|
||||
|
||||
#define LISTEN_ADDR \
|
||||
((struct sockaddr_un){ .sun_family = AF_UNIX, .sun_path = "/tmp/L0" })
|
||||
#define LISTEN_ADDRLEN (PATH_OFFSET + 8)
|
||||
((struct sockaddr_un){ .sun_family = AF_UNIX, .sun_path = "/tmp//L0" })
|
||||
#define LISTEN_ADDRLEN (PATH_OFFSET + 9)
|
||||
|
||||
FN_SETUP(unbound)
|
||||
{
|
||||
|
Reference in New Issue
Block a user