[Bug 199308] unix_passfd doesn't work

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 9 11:59:44 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199308

            Bug ID: 199308
           Summary: unix_passfd doesn't work
           Product: Base System
           Version: 9.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: tests
          Assignee: freebsd-testing at freebsd.org
          Reporter: safonov.paul at gmail.com

# cd /usr/src/tools/regression/sockets/unix_passfd
# make
Warning: Object directory not changed from original
/usr/src/tools/regression/sockets/unix_passfd
cc -O2 -pipe  -std=gnu99  -fstack-protector -Wsystem-headers -Werror -Wall
-Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c unix_passfd.c -o
unix_passfd.o
cc1: warnings being treated as errors
unix_passfd.c: In function 'sendfd':
unix_passfd.c:131: warning: format '%d' expects type 'int', but argument 4 has
type 'ssize_t'
unix_passfd.c: In function 'recvfd':
unix_passfd.c:173: warning: format '%d' expects type 'int', but argument 4 has
type 'ssize_t'
*** [unix_passfd.o] Error code 1

Stop in /usr/src/tools/regression/sockets/unix_passfd.

# vi Makefile
and comment out the line WARNS

# make
Warning: Object directory not changed from original
/usr/src/tools/regression/sockets/unix_passfd
cc -O2 -pipe  -std=gnu99  -fstack-protector  -c unix_passfd.c -o unix_passfd.o
cc -O2 -pipe  -std=gnu99  -fstack-protector   -o unix_passfd unix_passfd.o 

# ./unix_passfd
beginning test1-simplesendfd
unix_passfd: test1-simplesendfd: samefile: different device: No such file or
directory

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-testing mailing list