summaryrefslogtreecommitdiff
path: root/fetch_struct_flock.c
Commit message (Collapse)AuthorAgeFilesLines
* Change my email addressDmitry V. Levin2020-12-311-1/+1
|
* Update copyright headersDmitry V. Levin2018-12-241-1/+1
|
* Change the license of strace to LGPL-2.1-or-laterDmitry V. Levin2018-12-101-21/+1
| | | | | | | | strace is now provided under the terms of the GNU Lesser General Public License version 2.1 or later, see COPYING for more details. strace test suite is now provided under the terms of the GNU General Public License version 2 or later, see tests/COPYING for more details.
* Add copyright headersEugene Syromyatnikov2017-05-221-0/+1
|
* Automatically replace kernel_(scno|ureg)_t with kernel_ulong_tDmitry V. Levin2016-12-261-2/+2
| | | | | | | | | | | | | Remove temporary types created for transition from long to kernel_ulong_t. Automatically replace kernel_scno_t and kernel_ureg_t with kernel_ulong_t using $ git grep -El 'kernel_(scno|ureg)_t' | xargs sed -ri 's/kernel_(scno|ureg)_t/kernel_ulong_t/g' * kernel_types.h (kernel_scno_t, kernel_ureg_t): Remove. All users updated.
* fetch_struct_flock: change address argument type from long to kernel_ureg_tDmitry V. Levin2016-12-251-4/+4
| | | | | * fetch_struct_flock.c (fetch_struct_flock, fetch_struct_flock64): Change address argument type from long to kernel_ureg_t.
* mpers: add support of conditionally compiled printersDmitry V. Levin2016-05-211-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We used to declare and define all printers marked with MPERS_PRINTER_DECL, including ifdef'ed ones. That approach left us no way to conditionally compile mpersified printers, which was not a problem until btrfs ioctls appeared on the horizon. With this change, those mpersified printers that are not going to be compiled are also won't be declared and won't be added to struct_printers. This is implemented by filtering all source files containing MPERS_PRINTER_DECL markers through CPP. As a nice side effect, this also lifts an ugly requirement of writing all MPERS_PRINTER_DECL declarations in a single line. * README-mpers: Update description of MPERS_PRINTER_DECL syntax. * defs.h [IN_MPERS_BOOTSTRAP] (MPERS_PRINTER_DECL): Turn into a recursive variadic macro. [!IN_MPERS_BOOTSTRAP] (MPERS_PRINTER_DECL): Turn into a variadic macro. All callers changed. * Makefile.am (mpers_preproc_files, mpers_printer_decl_pattern): New variables. (CLEANFILES): Add $(mpers_preproc_files). (%.c.mpers.i): New rule. (printers.h, %_printer_decls.h, %_printer_defs.h): Use mpers_preproc_files instead of srcdir_mpers_source_files, use mpers_printer_decl_pattern. * .gitignore: Add /*.mpers.i.
* Convert parsers of flock structures to new mpers infrastructureDmitry V. Levin2015-11-261-0/+90
* fetch_struct_flock.c: New file. * Makefile.am (strace_SOURCES): Add it. * fcntl.c (print_struct_flock64): New function. (printflock64): Use fetch_struct_flock64 and print_struct_flock64. (printflock): Use fetch_struct_flock and print_struct_flock64.