Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I21bf1a3a7c25cbec43022202cf2e5865b603a309
Signed-off-by: wangbiao <biao716.wang@samsung.com>
|
|
- At the time when the file list is being processed, we dont yet
have the slightest clue what kind of payload will be used for
for the archive or what limits it might have. Let the cpio code
handle its own limits checking, the build-side only needs to
worry about whether 32bit uints are sufficient for storing the
sizes in headers.
|
|
- When writing, archive finalization can write further data into
the payload (eg cpio trailer). We need to be able to fish the
final archive size *after* closing it, otherwise archive size
will be off by trailer size.
- Add new rpmcpioFree() function which simpy frees the archive struct,
calling rpmcpioClose() in the process if it wasn't already done.
- This also simplifies the error code gymnastics in fsm: we need to
free the resources whether error or not, which rpmcpioFree() allows
us to do. And for writers, calling rpmcpioClose() only needs to
be done if earlier parts were successfull, so we dont need to worry
about masking a former error code when calling it.
|
|
Create cpio_t data type that holds the underlaying FD_t instance
Move padding and position handling and trailer generation into cpio.c
Use only one buffer in the fsm (merging the read and write buffer)
Replace the FSM_EAT, FSM_POS, FSM_PAD, FSM_DREAD, FSM_DWRITE states with cpio functions
Prepend "rpm" to the cpio function names
|
|
- physical cpio header and elf header have checksums, not digests
(from commit 7acdfded4a82e86a673418c3953aa6bf8106d313)
- doesn't affect functionality though
|
|
- add %verify(nofiledigest) as %verify(nomd5) file attribute alias
- reference digests as digests not checksums
- make old md5 related symbols obsolete and use newer reference
- update man page accordingly
|
|
- new rpmfiFCaps() API to retrieve the info from rpmfi set
- fsm internals quite similar to selinux handling
- plenty of #ifdef's, another possibility would be adding cap_foo dummies to
system.h like for selinux
|
|
- cpioStrerror() is used by build code so that remains visible, ugh
|
|
- max size of individual files in cpio new ascii format is well known,
check we don't try to stuff in larger than what fits and abort cleanly
- this should do as long as we only support new ascii format cpio payloads
|
|
- allows FSM* typedefs to move to where they belong
|
|
|
|
|
|
They're meaningless in C and cause tonne of build warnings.
|
|
user does not have access to old programs if he hard links them
to some other directory. [#50376] rh#125517
Patch from OpenSuSE
|
|
CVS patchset: 7495
CVS date: 2004/10/20 10:19:34
|
|
CVS patchset: 7006
CVS date: 2003/12/25 23:00:44
|
|
Spliddles for rpmio, drill h_errno all the way through.
CVS patchset: 6826
CVS date: 2003/05/08 20:39:29
|
|
Recheck thread safety markes with fsm synchronous threads.
CVS patchset: 6714
CVS date: 2003/03/23 00:36:13
|
|
CVS patchset: 5990
CVS date: 2002/12/31 02:12:02
|
|
CVS patchset: 5542
CVS date: 2002/07/08 14:21:26
|
|
CVS patchset: 5401
CVS date: 2002/04/13 01:28:20
|
|
CVS patchset: 5379
CVS date: 2002/04/08 18:56:01
|
|
CVS patchset: 5106
CVS date: 2001/10/15 03:22:10
|
|
CVS patchset: 5104
CVS date: 2001/10/13 19:35:58
|
|
- eliminate DYING code.
CVS patchset: 5082
CVS date: 2001/09/25 20:51:34
|
|
CVS patchset: 4987
CVS date: 2001/07/24 20:39:19
|
|
- add %dev(type,major,minor) directive to permit non-root dev build.
CVS patchset: 4944
CVS date: 2001/07/16 14:48:07
|
|
CVS patchset: 4903
CVS date: 2001/06/25 20:01:42
|
|
CVS patchset: 4833
CVS date: 2001/06/04 13:55:58
|
|
CVS patchset: 4545
CVS date: 2001/02/11 22:02:29
|
|
handle out-of-sync hardlinks as sub-state, don't save the file name.
fix: on build, was broke, add --fsmdebug as well.
CVS patchset: 4537
CVS date: 2001/02/09 20:58:37
|
|
CVS patchset: 4531
CVS date: 2001/02/08 23:05:05
|
|
Off to fix build's yet again.
CVS patchset: 4530
CVS date: 2001/02/08 21:50:38
|
|
CVS patchset: 4514
CVS date: 2001/02/02 15:04:44
|
|
CVS patchset: 4509
CVS date: 2001/01/29 22:53:48
|
|
Bundle dev/symlink/fifo/sock into hdr state machine.
CVS patchset: 4505
CVS date: 2001/01/28 19:12:04
|
|
CVS patchset: 4503
CVS date: 2001/01/28 02:13:48
|
|
- reposition callbacks with ts/fi in cpio payload layer.
CVS patchset: 4498
CVS date: 2001/01/25 20:26:35
|
|
CVS patchset: 4496
CVS date: 2001/01/24 21:35:52
|
|
CVS patchset: 4495
CVS date: 2001/01/24 15:58:35
|
|
CVS patchset: 4493
CVS date: 2001/01/23 23:03:28
|
|
CVS patchset: 4487
CVS date: 2001/01/22 19:11:19
|
|
CVS patchset: 4474
CVS date: 2001/01/21 15:43:32
|
|
CVS patchset: 4401
CVS date: 2001/01/02 17:19:34
|
|
CVS patchset: 4225
CVS date: 2000/10/24 13:46:51
|
|
CVS patchset: 4221
CVS date: 2000/10/20 22:04:27
|
|
CVS patchset: 4139
CVS date: 2000/08/28 01:50:45
|
|
CVS patchset: 4138
CVS date: 2000/08/28 01:08:57
|
|
CVS patchset: 4130
CVS date: 2000/08/27 19:18:25
|
|
CVS patchset: 4101
CVS date: 2000/08/23 12:39:49
|