Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Apr 2015 11:59:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-testing@freebsd.org
Subject:   [Bug 199308] unix_passfd doesn't work
Message-ID:  <bug-199308-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@freebsd.org
          Reporter: safonov.paul@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199308-32464>