File libselinux.changes of Package libselinux
521
1
-------------------------------------------------------------------
2
Tue Jan 12 12:54:37 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
3
4
- Correct license to public domain (bsc#1180603)
5
6
-------------------------------------------------------------------
7
Fri Jan 4 14:18:42 UTC 2019 - jsegitz@suse.com
8
9
- Remove unneeded build requires for python3 (bsc#1120255)
10
11
-------------------------------------------------------------------
12
Wed Oct 17 11:48:30 UTC 2018 - jsegitz@suse.com
13
14
- Update to version 2.8 (bsc#1111732)
15
For changes please see
16
https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180524/RELEASE-20180524.txt
17
- ran spec-cleaner on spec files
18
19
-------------------------------------------------------------------
20
Mon May 14 22:45:54 UTC 2018 - mcepl@cepl.eu
21
22
- Update to version 2.7.
23
* %files needed to be heavily modified
24
* Based expressly on python3, not just python
25
For changes please see
26
https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20170804/RELEASE-20170804.txt
27
28
-------------------------------------------------------------------
29
Fri Nov 24 09:09:02 UTC 2017 - jsegitz@suse.com
30
31
- Update to version 2.6. Notable changes:
32
* selinux_restorecon: fix realpath logic
33
* sefcontext_compile: invert semantics of "-r" flag
34
* sefcontext_compile: Add "-i" flag
35
* Introduce configurable backends
36
* Add function to find security.restorecon_last entries
37
* Add openrc_contexts functions
38
* Add support for pcre2
39
* Handle NULL pcre study data
40
* Add setfiles support to selinux_restorecon(3)
41
* Evaluate inodes in selinux_restorecon(3)
42
* Change the location of _selinux.so
43
* Explain how to free policy type from selinux_getpolicytype()
44
* Compare absolute pathname in matchpathcon -V
45
* Add selinux_snapperd_contexts_path()
46
* Modify audit2why analyze function to use loaded policy
47
* Avoid mounting /proc outside of selinux_init_load_policy()
48
* Fix location of selinuxfs mount point
49
* Only mount /proc if necessary
50
* procattr: return einval for <= 0 pid args
51
* procattr: return error on invalid pid_t input
52
- Dropped
53
* libselinux-2.2-ruby.patch
54
* libselinux-proc-mount-only-if-needed.patch
55
* python-selinux-swig-3.10.patch
56
57
-------------------------------------------------------------------
58
Wed Jul 5 10:30:57 UTC 2017 - schwab@suse.de
59
60
- readv-proto.patch: include <sys/uio.h> for readv prototype
61
62
-------------------------------------------------------------------
63
Sun Jul 24 19:33:42 UTC 2016 - crrodriguez@opensuse.org
64
65
- -devel static subpackage requires libpcre-devel and libsepol-devel
66
67
-------------------------------------------------------------------
68
Sun Jul 24 19:05:35 UTC 2016 - crrodriguez@opensuse.org
69
70
- Avoid mounting /proc outside of selinux_init_load_policy().
71
(Stephen Smalley) reverts upstream 5a8d8c4, 9df4988, fixes
72
among other things systemd seccomp sandboxing otherwise all
73
filters must allow mount(2)
74
(libselinux-proc-mount-only-if-needed.patch)
75
76
-------------------------------------------------------------------
77
Sun Jul 17 15:30:05 UTC 2016 - jengelh@inai.de
78
79
- Update RPM groups, trim description and combine filelist entries.
80
81
-------------------------------------------------------------------
82
Thu Jul 14 07:58:49 UTC 2016 - jsegitz@novell.com
83
84
- Adjusted source link
85
86
-------------------------------------------------------------------
87
Tue Jul 5 16:42:03 UTC 2016 - i@marguerite.su
88
89
- add patch: python-selinux-swig-3.10.patch, fixed boo#985368
90
* swig-3.10 in Factory use importlib instead of imp to find
91
_selinux.so. imp searched the same directory as __init__.py
92
is while importlib searchs only standard paths. so we have
93
to move _selinux.so. fixed by upstream
94
- update version 2.5
95
* Add selinux_restorecon function
96
* read_spec_entry: fail on non-ascii
97
* Add man information about thread specific functions
98
* Don't wrap rpm_execcon with DISABLE_RPM with SWIG
99
* Correct line count for property and service context files
100
* label_file: fix memory leaks and uninitialized jump
101
* Replace selabel_digest hash function
102
* Fix selabel_open(3) services if no digest requested
103
* Add selabel_digest function
104
* Flush the class/perm string mapping cache on policy reload
105
* Fix restorecon when path has no context
106
* Free memory when processing media and x specfiles
107
* Fix mmap memory release for file labeling
108
* Add policy context validation to sefcontext_compile
109
* Do not treat an empty file_contexts(.local) as an error
110
* Fail hard on invalid property_contexts entries
111
* Fail hard on invalid file_contexts entries
112
* Support context validation on file_contexts.bin
113
* Add selabel_cmp interface and label_file backend
114
* Support specifying file_contexts.bin file path
115
* Support file_contexts.bin without file_contexts
116
* Simplify procattr cache
117
* Use /proc/thread-self when available
118
* Add const to selinux_opt for label backends
119
* Fix binary file labels for regexes with metachars
120
* Fix file labels for regexes with metachars
121
* Fix if file_contexts not '\n' terminated
122
* Enhance file context support
123
* Fix property processing and cleanup formatting
124
* Add read_spec_entries function to replace sscanf
125
* Support consistent mode size for bin files
126
* Fix more bin file processing core dumps
127
* add selinux_openssh_contexts_path()
128
* setrans_client: minimize overhead when mcstransd is not present
129
* Ensure selabel_lookup_best_match links NULL terminated
130
* Fix core dumps with corrupt *.bin files
131
* Add selabel partial and best match APIs
132
* Use os.walk() instead of the deprecated os.path.walk()
133
* Remove deprecated mudflap option
134
* Mount procfs before checking /proc/filesystems
135
* Fix -Wformat errors with gcc-5.0.0
136
* label_file: handle newlines in file names
137
* Fix audit2why error handling if SELinux is disabled
138
* pcre_study can return NULL without error
139
* Only check SELinux enabled status once in selinux_check_access
140
- changes in 2.4
141
* Remove assumption that SHLIBDIR is ../../ relative to LIBDIR
142
* Fix bugs found by hardened gcc flags
143
* Set the system to permissive if failing to disable SELinux because
144
policy has already been loaded
145
* Add db_exception and db_datatype support to label_db backend
146
* Log an error on unknown classes and permissions
147
* Add pcre version string to the compiled file_contexts format
148
* Deprecate use of flask.h and av_permissions.h
149
* Compiled file_context files and the original should have the same DAC
150
permissions
151
152
-------------------------------------------------------------------
153
Thu Jul 30 12:00:27 UTC 2015 - jsegitz@novell.com
154
155
- fixed selinux-ready to work with initrd files created by dracut (bsc#940006)
156
157
-------------------------------------------------------------------
158
Mon Sep 8 08:25:11 UTC 2014 - jsegitz@suse.com
159
160
- updated selinux-ready script to handle initrd files compressed with xz
161
162
-------------------------------------------------------------------
163
Sun May 18 00:15:17 UTC 2014 - crrodriguez@opensuse.org
164
165
- Update to version 2.3
166
* Get rid of security_context_t and fix const declarations.
167
* Refactor rpm_execcon() into a new setexecfilecon() from Guillem Jover.
168
169
-------------------------------------------------------------------
170
Thu Oct 31 13:43:41 UTC 2013 - p.drouand@gmail.com
171
172
- Update to version 2.2
173
* Fix avc_has_perm() returns -1 even when SELinux is in permissive mode.
174
* Support overriding Makefile RANLIB
175
* Update pkgconfig definition
176
* Mount sysfs before trying to mount selinuxfs.
177
* Fix man pages
178
* Support overriding PATH and LIBBASE in Makefile
179
* Fix LDFLAGS usage
180
* Avoid shadowing stat in load_mmap
181
* Support building on older PCRE libraries
182
* Fix handling of temporary file in sefcontext_compile
183
* Fix procattr cache
184
* Define python constants for getenforce result
185
* Fix label substitution handling of /
186
* Add selinux_current_policy_path from
187
* Change get_context_list to only return good matches
188
* Support udev-197 and higher
189
* Add support for local substitutions
190
* Change setfilecon to not return ENOSUP if context is already correct
191
* Python wrapper leak fixes
192
* Export SELINUX_TRANS_DIR definition in selinux.h
193
* Add selinux_systemd_contexts_path
194
* Add selinux_set_policy_root
195
* Add man page for sefcontext_compile
196
- Remove libselinux-rhat.patch; merged on upstream
197
- Adapt libselinux-ruby.patch to upstream changes
198
- Use fdupes to symlink duplicate manpages
199
200
-------------------------------------------------------------------
201
Thu Jun 27 14:42:01 UTC 2013 - vcizek@suse.com
202
203
- change the source url to the official 2.1.13 release tarball
204
205
-------------------------------------------------------------------
206
Wed May 22 23:50:58 UTC 2013 - jengelh@inai.de
207
208
- Reuse implicit dependencies injected by pkgconfig
209
210
-------------------------------------------------------------------
211
Thu Apr 4 19:16:35 UTC 2013 - vcizek@suse.com
212
213
- fixed source url in libselinux-bindings.spec
214
- removed old tarball
215
216
-------------------------------------------------------------------
217
Wed Apr 3 10:17:21 UTC 2013 - vcizek@suse.com
218
219
- fix source url
220
- document changes in libselinux-rhat.patch from previous submission:
221
(most code of the removed code was integrated upstream)
222
* Add matchpathcon -P /etc/selinux/mls support by allowing users
223
to set alternate root
224
* Add new constant SETRANS_DIR which points to the directory
225
where mstransd can find the socket and libvirt can write its
226
translations files
227
228
-------------------------------------------------------------------
229
Fri Mar 29 15:12:50 UTC 2013 - vcizek@suse.com
230
231
-update to 2.1.13
232
* audit2why: make sure path is nul terminated
233
* utils: new file context regex compiler
234
* label_file: use precompiled filecontext when possible
235
* do not leak mmapfd
236
* sefcontontext_compile: Add error handling to help debug problems in libsemanage.
237
* man: make selinux.8 mention service man pages
238
* audit2why: Fix segfault if finish() called twice
239
* audit2why: do not leak on multiple init() calls
240
* mode_to_security_class: interface to translate a mode_t in to a security class
241
* audit2why: Cleanup audit2why analysys function
242
* man: Fix program synopsis and function prototypes in man pages
243
* man: Fix man pages formatting
244
* man: Fix typo in man page
245
* man: Add references and man page links to _raw function variants
246
* Use ENOTSUP instead of EOPNOTSUPP for getfilecon functions
247
* man: context_new(3): fix the return value description
248
* selinux_status_open: handle error from sysconf
249
* selinux_status_open: do not leak statusfd on exec
250
* Fix errors found by coverity
251
* Change boooleans.subs to booleans.subs_dist.
252
* optimize set*con functions
253
* pkg-config do not specifc ruby version
254
* unmap file contexts on selabel_close()
255
* do not leak file contexts with mmap'd backend
256
* sefcontext_compile: do not leak fd on error
257
* matchmediacon: do not leak fd
258
* src/label_android_property: do not leak fd on error
259
260
-------------------------------------------------------------------
261
Wed Jan 30 11:44:45 UTC 2013 - vcizek@suse.com
262
263
- update to 2.1.12
264
- added the recent libselinux-rhat.patch
265
* Add support for lxc_contexts_path
266
* utils: add service to getdefaultcon
267
* libsemanage: do not set soname needlessly
268
* libsemanage: remove PYTHONLIBDIR and ruby equivalent
269
* boolean name equivalency
270
* getsebool: support boolean name substitution
271
* Add man page for new selinux_boolean_sub function.
272
* expose selinux_boolean_sub
273
* matchpathcon: add -m option to force file type check
274
* utils: avcstat: clear sa_mask set
275
* seusers: Check for strchr failure
276
* booleans: initialize pointer to silence coveriety
277
* stop messages when SELinux disabled
278
* Ensure that we only close the selinux netlink socket once.
279
* improve the file_contexts.5 manual page
280
* Fortify source now requires all code to be compiled with -O flag
281
* asprintf return code must be checked
282
* avc_netlink_recieve handle EINTR
283
* audit2why: silence -Wmissing-prototypes warning
284
* libsemanage: remove build warning when build swig c files
285
* matchpathcon: bad handling of symlinks in /
286
* seusers: remove unused lineno
287
* seusers: getseuser: gracefully handle NULL service
288
* New Android property labeling backend
289
* label_android_property whitespace cleanups
290
* additional makefile support for rubywrap
291
* Remove jump over variable declaration
292
* Fix old style function definitions
293
* Fix const-correctness
294
* Remove unused flush_class_cache method
295
* Add prototype decl for destructor
296
* Add more printf format annotations
297
* Add printf format attribute annotation to die() method
298
* Fix const-ness of parameters & make usage() methods static
299
* Enable many more gcc warnings for libselinux/src/ builds
300
* utils: Enable many more gcc warnings for libselinux/utils builds
301
* Change annotation on include/selinux/avc.h to avoid upsetting SWIG
302
* Ensure there is a prototype for 'matchpathcon_lib_destructor'
303
* Update Makefiles to handle /usrmove
304
* utils: Stop separating out matchpathcon as something special
305
* pkg-config to figure out where ruby include files are located
306
* build with either ruby 1.9 or ruby 1.8
307
* assert if avc_init() not called
308
* take security_deny_unknown into account
309
* security_compute_create_name(3)
310
* Do not link against python library, this is considered
311
* bad practice in debian
312
* Hide unnecessarily-exported library destructors
313
314
-------------------------------------------------------------------
315
Mon Jan 7 22:34:03 UTC 2013 - jengelh@inai.de
316
317
- Remove obsolete defines/sections
318
319
-------------------------------------------------------------------
320
Tue Dec 11 16:15:52 UTC 2012 - vcizek@suse.com
321
322
- update selinux-ready script
323
* use -L when stat()ing /etc/selinux/config
324
* make sure that SELINUX isn't disabled in /etc/selinux/config
325
* look for either of /sys/fs/selinux and /selinux directory
326
* use systemctl to check for restorecond
327
* don't look for booleans file (deprecated)
328
329
-------------------------------------------------------------------
330
Tue Nov 27 12:38:29 UTC 2012 - vcizek@suse.com
331
332
- update selinux-ready script
333
334
-------------------------------------------------------------------
335
Wed Jul 25 11:15:02 UTC 2012 - meissner@suse.com
336
337
- updated to 2.1.9 again (see below)
338
339
-------------------------------------------------------------------
340
Wed Jun 13 08:56:36 UTC 2012 - coolo@suse.com
341
342
- go back even more - everything else requires the full SELinux stack
343
(too late for 12.2)
344
345
-------------------------------------------------------------------
346
Mon Jun 11 09:06:55 UTC 2012 - factory-maintainer@kulow.org
347
348
- revert back to 2.0.98 for 12.2
349
350
-------------------------------------------------------------------
351
Fri Jun 1 18:34:04 CEST 2012 - mls@suse.de
352
353
- update to libselinux-2.1.9
354
* better man pages
355
* selinux_status interfaces
356
* simple interface for access checks
357
* multiple bug fixes
358
359
-------------------------------------------------------------------
360
Wed Oct 5 15:09:25 UTC 2011 - uli@suse.com
361
362
- cross-build fix: use %__cc macro
363
364
-------------------------------------------------------------------
365
Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de
366
367
- use %_smp_mflags
368
369
-------------------------------------------------------------------
370
Mon May 3 10:30:40 UTC 2010 - prusnak@suse.cz
371
372
- don't package /var/run/setrans in libselinux1 package
373
- Feature#303793
374
- the directory will be created in initscript of mcstrans package
375
376
-------------------------------------------------------------------
377
Sat Apr 24 09:53:28 UTC 2010 - coolo@novell.com
378
379
- buildrequire pkg-config to fix provides
380
381
-------------------------------------------------------------------
382
Fri Apr 9 07:27:27 UTC 2010 - thomas@novell.com
383
384
- selinux-ready: added function to check for restorecond in
385
runlevel 3/5
386
387
-------------------------------------------------------------------
388
Thu Apr 8 06:37:34 UTC 2010 - thomas@novell.com
389
390
- selinux-ready: added functions for checking PAM config and
391
policy boolean init_upstart
392
393
-------------------------------------------------------------------
394
Wed Apr 7 13:26:59 UTC 2010 - thomas@novell.com
395
396
- selinux-ready: fixed init ramfs checking
397
398
-------------------------------------------------------------------
399
Wed Apr 7 12:59:41 UTC 2010 - thomas@novell.com
400
401
- added new selinux-ready script
402
403
-------------------------------------------------------------------
404
Thu Feb 25 14:57:16 UTC 2010 - prusnak@suse.cz
405
406
- updated to 2.0.91
407
* changes too numerous to list
408
409
-------------------------------------------------------------------
410
Sat Dec 12 16:43:54 CET 2009 - jengelh@medozas.de
411
412
- add baselibs.conf as a source
413
414
-------------------------------------------------------------------
415
Fri Jul 24 17:09:50 CEST 2009 - thomas@novell.com
416
417
- updated selinux-ready script
418
419
-------------------------------------------------------------------
420
Wed Jul 22 15:17:25 CEST 2009 - prusnak@suse.cz
421
422
- change libsepol-devel to libsepol-devel-static in dependencies
423
of python bindings
424
425
-------------------------------------------------------------------
426
Wed Jul 1 12:26:48 CEST 2009 - prusnak@suse.cz
427
428
- put libsepol-devel back to Requires of libselinux-devel
429
430
-------------------------------------------------------------------
431
Mon Jun 29 21:24:16 CEST 2009 - prusnak@suse.cz
432
433
- added selinux-ready tool to selinux-tools package
434
435
-------------------------------------------------------------------
436
Tue Jun 9 20:17:54 CEST 2009 - crrodriguez@suse.de
437
438
- remove static libraries
439
- libselinux-devel does not require libsepol-devel
440
441
-------------------------------------------------------------------
442
Wed May 27 14:06:14 CEST 2009 - prusnak@suse.cz
443
444
- updated to 2.0.80
445
* deny_unknown wrapper function from KaiGai Kohei
446
* security_compute_av_flags API from KaiGai Kohei
447
* Netlink socket management and callbacks from KaiGai Kohei
448
* Netlink socket handoff patch from Adam Jackson
449
* AVC caching of compute_create results by Eric Paris
450
* fix incorrect conversion in discover_class code
451
452
-------------------------------------------------------------------
453
Fri Apr 17 17:12:06 CEST 2009 - prusnak@suse.cz
454
455
- fixed memory leak (memleak.patch)
456
457
-------------------------------------------------------------------
458
Wed Jan 14 14:04:30 CET 2009 - prusnak@suse.cz
459
460
- updated to 2.0.77
461
* add new function getseuser which will take username and service
462
and return seuser and level; ipa will populate file in future
463
* change selinuxdefcon to return just the context by default
464
* fix segfault if seusers file does not work
465
* strip trailing / for matchpathcon
466
* fix restorecon python code
467
468
-------------------------------------------------------------------
469
Mon Dec 1 11:32:50 CET 2008 - prusnak@suse.cz
470
471
- updated to 2.0.76
472
* allow shell-style wildcarding in X names
473
* add Restorecon/Install python functions
474
* correct message types in AVC log messages
475
* make matchpathcon -V pass mode
476
* add man page for selinux_file_context_cmp
477
* update flask headers from refpolicy trunk
478
479
-------------------------------------------------------------------
480
Wed Oct 22 16:28:59 CEST 2008 - mrueckert@suse.de
481
482
- fix debug_packages_requires define
483
484
-------------------------------------------------------------------
485
Tue Sep 23 12:51:10 CEST 2008 - prusnak@suse.cz
486
487
- require only version, not release [bnc#429053]
488
489
-------------------------------------------------------------------
490
Tue Sep 2 12:09:22 CEST 2008 - prusnak@suse.cz
491
492
- updated to 2.0.71
493
* Add group support to seusers using %groupname syntax from Dan Walsh.
494
* Mark setrans socket close-on-exec from Stephen Smalley.
495
* Only apply nodups checking to base file contexts from Stephen Smalley.
496
* Merge ruby bindings from Dan Walsh.
497
498
-------------------------------------------------------------------
499
Mon Sep 1 07:35:00 CEST 2008 - aj@suse.de
500
501
- Fix build of debuginfo.
502
503
-------------------------------------------------------------------
504
Fri Aug 22 14:45:29 CEST 2008 - prusnak@suse.cz
505
506
- added baselibs.conf file
507
- split bindings into separate subpackage (libselinux-bindings)
508
- split tools into separate subpackage (selinux-tools)
509
510
-------------------------------------------------------------------
511
Fri Aug 1 17:32:20 CEST 2008 - ro@suse.de
512
513
- fix requires for debuginfo package
514
515
-------------------------------------------------------------------
516
Tue Jul 15 16:26:31 CEST 2008 - prusnak@suse.cz
517
518
- initial version 2.0.67
519
* based on Fedora package by Dan Walsh <dwalsh@redhat.com>
520
521