Re: [meta-virtualization][PATCH v2] diod: Update to b4b5e8e00ed11b21d7fcf05a080dc054a8eac2d6

2024-04-12 Thread Martin Jansa
FWIW: this is failing in some (possibly when
conf/distro/include/security_flags.inc with SECURITY_STRINGFORMAT and
conf/distro/include/time64.inc are used on arm or x86) world builds
with:
git/libnpfs/conn.c:135:44: error: format '%lu' expects argument of
type 'long unsigned int', but argument 3 has type '__time64_t' {aka
'long long int'} [-Werror=format=]
git/libnpfs/conn.c:135:50: error: format '%lu' expects argument of
type 'long unsigned int', but argument 4 has type '__suseconds64_t'
{aka 'long long int'} [-Werror=format=]
git/libnpfs/ctl.c:294:32: error: format '%lu' expects argument of type
'long unsigned int', but argument 4 has type '__time64_t' {aka 'long
long int'} [-Werror=format=]
git/libnpfs/ctl.c:294:36: error: format '%lu' expects argument of type
'long unsigned int', but argument 5 has type '__suseconds64_t' {aka
'long long int'} [-Werror=format=]

Cheers,

On Wed, Mar 13, 2024 at 4:19 AM Bruce Ashfield  wrote:
>
> Staged on master-next (it will be in the upcoming release branch)
>
> Bruce
>
> In message: [meta-virtualization][PATCH v2] diod: Update to 
> b4b5e8e00ed11b21d7fcf05a080dc054a8eac2d6
> on 11/03/2024 Ola x Nilsson wrote:
>
> > Just needs a single patch to handle the lua feature in configure when
> > cross-compiling.
> >
> > f732f19 auto.diod.in: remove bashisms
> > 7e0df4c build: Update ax_compiler_vendor.m4 from autoconf-archive 2023.02.20
> > 7e56831 build: Update ax_lua.m4 from autoconf-archive 2023.02.20
> > 76c7c18 build: Install diod.service and auto.diod without install-data-local
> > af5972f build: Add missing , to AS_CASE in configure.ac
> > 6cbbacf diodmount: update man page with privport option
> > 3777ea1 libdiod: Support ipv6 in diod_sock_connect
> > ddf6071 libdiod: Set global options on exports specified on
> > 1db9e57 libdiod: support privport on ipv6
> > ae7c536 diodmount: Add option to set privport
> > 66652bf diod: allow walk on open fids
> > 2822ea6 tests: disable open-walk test
> > 56f24b2 diod: fix incompatible-pointer-types warning
> > ab03b7f utils/diodls: fix error-format warnings
> > 84d4e51 github: extend build matrix to include ubuntu18
> > 203b4c7 README: reference SPDX identifier
> > d5444ce license: update 9p.h kernel header
> > 0a5c80e license: update npfs source headers
> > 88350f3 license: update license header to abbreivated one
> > 57a621d protocol: fix plan9 manual links
> > ee95dd9 tests/misc: fix distcheck problems
> > d8e1e67 README: update dependencies
> > 5425713 ci: install lua interpreter as prereq
> > 25bebfb build: add configure --disable-config
> > e7f9df9 build: fix lua detection
> > 3eabd5d ci: create build matrix with clang, gcc
> > 20ca897 build: conditional use of gcc warning flags is broken
> > 16f8da4 build: turn all compiler warnings into errors
> > 59bdaa1 tests/kern/tfcntl3: drop dead code
> > 7a0f557 tests/kern/tfcntl2: drop dead code
> > dd4d4c0 tests/kern/misc: ignore stringop-truncation warnings
> > 3a05837 tests/kern/fsx: ignore unused-result warnings
> > c918476 tests/kern/postmark: ignore format-overflow warn
> > b20268c tests/kern/fsx: fix incorrect message
> > 7ee5b68 tests/kern/pathwalk: check snprintf return value
> > 657dc10 diod: use readdir(3) in ioctx_readdir()
> > cba3834 diod: normalize whitespace in ioctx_readdir_r()
> > 3e8ed95 diod: use readdir() not deprecated readdir_r()
> > 194416d diod: define _DEFAULT_SOURCE not _BSD_SOURCE
> > ddcbd3b diodmount: initialized variable
> > 698d055 diodmount: check system() return value
> > 787994e build: suppress liblsd errors
> > 192229f build: enable automake "maintainer mode"
> > 0086b9b libnpfs: don't call snprintf() with NULL %s arg
> > 620792d ci: add basic github workflow
> > 530e2d5 move main.yml into the correct directory
> > 783cb8c ci: add github workflow stub
> > c7eccf9 ci: drop travis config
> > ff26333 Use PKG_CHECK_MODULES for ncurses, drop legacy curses
> > 91d8966 Silence warnings when compiling with clang
> > 3bb5798 Increase diod server maximum msize setting to 1MB
> > 896f37c Add option to disable hostname lookups
> > cdd12f2 Remove empty README
> > c2cd87c Document IPv6 address format
> > 899306b diod: Add support for IPv6 addresses
> > 1878ce9 diodmount: Add support for IPv6 addresses
> > 82b819f Splits the package in diod, and diod-utils.
> > cf33c8e Fixes spec file for systemd build on CentOS 7.
> > 9af7d94 Travis-ci: added support for ppc64le
> > 550ba49 document the FreeBSD changes
> > bfe6c4b implement impersonation on FreeBSD
> > c28286f restore user-linux.c from user-linux-0.c
> > 2624b4f copy user-linux.c to u

Re: [meta-virtualization][PATCH v2] diod: Update to b4b5e8e00ed11b21d7fcf05a080dc054a8eac2d6

2024-03-12 Thread Bruce Ashfield
Staged on master-next (it will be in the upcoming release branch)

Bruce

In message: [meta-virtualization][PATCH v2] diod: Update to 
b4b5e8e00ed11b21d7fcf05a080dc054a8eac2d6
on 11/03/2024 Ola x Nilsson wrote:

> Just needs a single patch to handle the lua feature in configure when
> cross-compiling.
> 
> f732f19 auto.diod.in: remove bashisms
> 7e0df4c build: Update ax_compiler_vendor.m4 from autoconf-archive 2023.02.20
> 7e56831 build: Update ax_lua.m4 from autoconf-archive 2023.02.20
> 76c7c18 build: Install diod.service and auto.diod without install-data-local
> af5972f build: Add missing , to AS_CASE in configure.ac
> 6cbbacf diodmount: update man page with privport option
> 3777ea1 libdiod: Support ipv6 in diod_sock_connect
> ddf6071 libdiod: Set global options on exports specified on
> 1db9e57 libdiod: support privport on ipv6
> ae7c536 diodmount: Add option to set privport
> 66652bf diod: allow walk on open fids
> 2822ea6 tests: disable open-walk test
> 56f24b2 diod: fix incompatible-pointer-types warning
> ab03b7f utils/diodls: fix error-format warnings
> 84d4e51 github: extend build matrix to include ubuntu18
> 203b4c7 README: reference SPDX identifier
> d5444ce license: update 9p.h kernel header
> 0a5c80e license: update npfs source headers
> 88350f3 license: update license header to abbreivated one
> 57a621d protocol: fix plan9 manual links
> ee95dd9 tests/misc: fix distcheck problems
> d8e1e67 README: update dependencies
> 5425713 ci: install lua interpreter as prereq
> 25bebfb build: add configure --disable-config
> e7f9df9 build: fix lua detection
> 3eabd5d ci: create build matrix with clang, gcc
> 20ca897 build: conditional use of gcc warning flags is broken
> 16f8da4 build: turn all compiler warnings into errors
> 59bdaa1 tests/kern/tfcntl3: drop dead code
> 7a0f557 tests/kern/tfcntl2: drop dead code
> dd4d4c0 tests/kern/misc: ignore stringop-truncation warnings
> 3a05837 tests/kern/fsx: ignore unused-result warnings
> c918476 tests/kern/postmark: ignore format-overflow warn
> b20268c tests/kern/fsx: fix incorrect message
> 7ee5b68 tests/kern/pathwalk: check snprintf return value
> 657dc10 diod: use readdir(3) in ioctx_readdir()
> cba3834 diod: normalize whitespace in ioctx_readdir_r()
> 3e8ed95 diod: use readdir() not deprecated readdir_r()
> 194416d diod: define _DEFAULT_SOURCE not _BSD_SOURCE
> ddcbd3b diodmount: initialized variable
> 698d055 diodmount: check system() return value
> 787994e build: suppress liblsd errors
> 192229f build: enable automake "maintainer mode"
> 0086b9b libnpfs: don't call snprintf() with NULL %s arg
> 620792d ci: add basic github workflow
> 530e2d5 move main.yml into the correct directory
> 783cb8c ci: add github workflow stub
> c7eccf9 ci: drop travis config
> ff26333 Use PKG_CHECK_MODULES for ncurses, drop legacy curses
> 91d8966 Silence warnings when compiling with clang
> 3bb5798 Increase diod server maximum msize setting to 1MB
> 896f37c Add option to disable hostname lookups
> cdd12f2 Remove empty README
> c2cd87c Document IPv6 address format
> 899306b diod: Add support for IPv6 addresses
> 1878ce9 diodmount: Add support for IPv6 addresses
> 82b819f Splits the package in diod, and diod-utils.
> cf33c8e Fixes spec file for systemd build on CentOS 7.
> 9af7d94 Travis-ci: added support for ppc64le
> 550ba49 document the FreeBSD changes
> bfe6c4b implement impersonation on FreeBSD
> c28286f restore user-linux.c from user-linux-0.c
> 2624b4f copy user-linux.c to user-freebsd.c
> f4ae6ef save a copy of user-linux.c as user-linux-0.c
> 228c2d2 minor cleanup in liblsd/hostlist.c
> f325ad5 fix the help message
> e20572a finish the split of user.c
> 11ed83c remove non-shared code from user.c
> 929276d move common code from user.c out of the way
> 7d3d01a leave only a stub in user-stub.c
> d7abf6f create user-stub.c from user.c
> 828cf89 remove non-Linux bits from user-linux.c
> 3eb807c create user-linux.c from user.c
> 490d7bc add a setting to configure access=user API
> 243b0b3 disable diodmount and tests except on Linux
> 1ece6d7 make building tests configurable
> a3610ca make building diodmount configurable
> 13eace1 do not special-case Linux to do the same thing
> 33cd2b0 FreeBSD does not have ENODATA
> e6ecd06 remove unused ifdefs
> 42958d2 check for missing defines directly
> 244adc7 use autoconf to detect headers
> f3b9cae small fixes for FreeBSD
> 73fe9a6 Update protocol.md
> f0f7d0d Fix systemd unit dir and file permissions
> 81eef82 Fix autoconf failure: Ensure m4 macro inclusion
> ca1b0f5 Place systemd unit into $(libdir)/systemd/system
> 5551dbc libnpclient/read.c: fix out-of-bounds write
> 50bc4ea libdiod/diod_sock.c: zero initialize sockaddr
> 1d40ba5 diod/ops.c:

[meta-virtualization][PATCH v2] diod: Update to b4b5e8e00ed11b21d7fcf05a080dc054a8eac2d6

2024-03-11 Thread Ola x Nilsson
Just needs a single patch to handle the lua feature in configure when
cross-compiling.

f732f19 auto.diod.in: remove bashisms
7e0df4c build: Update ax_compiler_vendor.m4 from autoconf-archive 2023.02.20
7e56831 build: Update ax_lua.m4 from autoconf-archive 2023.02.20
76c7c18 build: Install diod.service and auto.diod without install-data-local
af5972f build: Add missing , to AS_CASE in configure.ac
6cbbacf diodmount: update man page with privport option
3777ea1 libdiod: Support ipv6 in diod_sock_connect
ddf6071 libdiod: Set global options on exports specified on
1db9e57 libdiod: support privport on ipv6
ae7c536 diodmount: Add option to set privport
66652bf diod: allow walk on open fids
2822ea6 tests: disable open-walk test
56f24b2 diod: fix incompatible-pointer-types warning
ab03b7f utils/diodls: fix error-format warnings
84d4e51 github: extend build matrix to include ubuntu18
203b4c7 README: reference SPDX identifier
d5444ce license: update 9p.h kernel header
0a5c80e license: update npfs source headers
88350f3 license: update license header to abbreivated one
57a621d protocol: fix plan9 manual links
ee95dd9 tests/misc: fix distcheck problems
d8e1e67 README: update dependencies
5425713 ci: install lua interpreter as prereq
25bebfb build: add configure --disable-config
e7f9df9 build: fix lua detection
3eabd5d ci: create build matrix with clang, gcc
20ca897 build: conditional use of gcc warning flags is broken
16f8da4 build: turn all compiler warnings into errors
59bdaa1 tests/kern/tfcntl3: drop dead code
7a0f557 tests/kern/tfcntl2: drop dead code
dd4d4c0 tests/kern/misc: ignore stringop-truncation warnings
3a05837 tests/kern/fsx: ignore unused-result warnings
c918476 tests/kern/postmark: ignore format-overflow warn
b20268c tests/kern/fsx: fix incorrect message
7ee5b68 tests/kern/pathwalk: check snprintf return value
657dc10 diod: use readdir(3) in ioctx_readdir()
cba3834 diod: normalize whitespace in ioctx_readdir_r()
3e8ed95 diod: use readdir() not deprecated readdir_r()
194416d diod: define _DEFAULT_SOURCE not _BSD_SOURCE
ddcbd3b diodmount: initialized variable
698d055 diodmount: check system() return value
787994e build: suppress liblsd errors
192229f build: enable automake "maintainer mode"
0086b9b libnpfs: don't call snprintf() with NULL %s arg
620792d ci: add basic github workflow
530e2d5 move main.yml into the correct directory
783cb8c ci: add github workflow stub
c7eccf9 ci: drop travis config
ff26333 Use PKG_CHECK_MODULES for ncurses, drop legacy curses
91d8966 Silence warnings when compiling with clang
3bb5798 Increase diod server maximum msize setting to 1MB
896f37c Add option to disable hostname lookups
cdd12f2 Remove empty README
c2cd87c Document IPv6 address format
899306b diod: Add support for IPv6 addresses
1878ce9 diodmount: Add support for IPv6 addresses
82b819f Splits the package in diod, and diod-utils.
cf33c8e Fixes spec file for systemd build on CentOS 7.
9af7d94 Travis-ci: added support for ppc64le
550ba49 document the FreeBSD changes
bfe6c4b implement impersonation on FreeBSD
c28286f restore user-linux.c from user-linux-0.c
2624b4f copy user-linux.c to user-freebsd.c
f4ae6ef save a copy of user-linux.c as user-linux-0.c
228c2d2 minor cleanup in liblsd/hostlist.c
f325ad5 fix the help message
e20572a finish the split of user.c
11ed83c remove non-shared code from user.c
929276d move common code from user.c out of the way
7d3d01a leave only a stub in user-stub.c
d7abf6f create user-stub.c from user.c
828cf89 remove non-Linux bits from user-linux.c
3eb807c create user-linux.c from user.c
490d7bc add a setting to configure access=user API
243b0b3 disable diodmount and tests except on Linux
1ece6d7 make building tests configurable
a3610ca make building diodmount configurable
13eace1 do not special-case Linux to do the same thing
33cd2b0 FreeBSD does not have ENODATA
e6ecd06 remove unused ifdefs
42958d2 check for missing defines directly
244adc7 use autoconf to detect headers
f3b9cae small fixes for FreeBSD
73fe9a6 Update protocol.md
f0f7d0d Fix systemd unit dir and file permissions
81eef82 Fix autoconf failure: Ensure m4 macro inclusion
ca1b0f5 Place systemd unit into $(libdir)/systemd/system
5551dbc libnpclient/read.c: fix out-of-bounds write
50bc4ea libdiod/diod_sock.c: zero initialize sockaddr
1d40ba5 diod/ops.c: distinguish opened and unopened Fids in {set,get}attr
d1d31c9 diod/ioctx.c: add stat, chmod, chown, truncate, utimensat
6749db3 diod/ops.c: disallow walk on opened fids
f1f1b38 tests/user: add tests for operations on opened fids
6fbe656 tests: fix xattr test build
d3946ca tests: check for daemon user
ff730b1 Fix typo in P9_TRENAME format
9690086 add git to debian dependencies
0498089 diod/ops.c: add header file for makedev
043f1ea cleanup: remove files that should not have been committed
0dd51c5 travis-ci: begin building under travis
fb191b7 tests/kern: avoid use of relative paths
47c63b0 tests/user: avoid use of relative paths
320eb5a tests/misc: avoid use of relative paths