Commit report for v3.0.x branch

announce at freeradius.org announce at freeradius.org
Wed Jul 26 02:00:02 CEST 2017


New activity for FreeRADIUS (the high performance and highly configurable RADIUS server)

======
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZd6GGAAoJEH0Oec13Yh7NRXUIAJ0hk4Lc7uE5xhbWuHt5vB1W
 KIHkXgplB5tFwQZRp7PIdkU6UcM/IxyopCgsa7QYf5pE0hYBqObQGIJm/vR5DgfA
 nPc4Xe71DkiYGg6Jp7a5K/QrB9kz83xbHToegBmcWBTmRR5tWev0B3mKQYCHCcCW
 lNiyyoAa1EIw/YTHAIoaiq8PnJvZJEst/rOiHbdzE9q9udQHZbIXzjx57ND5oS02
 FzKAImCdQJ6WpnJoFVa1QtK4c063sOVvuTVh/KLhs8wV99dC07qVE/w/Sb7B9j4L
 0hB2qcc5s7fkw78qOfO1SHpdTpfoL3JYuWy7+Qkx6nmxKsXhDiCbHhnRceYRe8g=
 =5FPJ
 -----END PGP SIGNATURE-----

note recent changes

Alan T. DeKok at 2017-07-25T19:52:31Z
Files modified:
	* doc/ChangeLog

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/22f8f7b340e77d04ef2b67e88fddd884bffe5f9e
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org
 
 iQIcBAABCgAGBQJZd4ciAAoJEP+k1YKfttfKM8gP/1n3OgYu2qmrFq2hYTb2289R
 jFiaAKltK68gk7Yo+K/AZKQ76o0I5wHMT/P1ljMMLbVtGabr3ffyrJ5HtARmECU/
 QxneruZknV99dlNV4cBwMBeAZq7R+/OIrgg4GvRzRgHI5I9OF1sCNv481gx0HRwF
 HdPMtv4u2DvY7xEJOcjQ/dZtNykQ1la0fpFBZNitLL3diFRtmBHia/szsCZ3jwRy
 AGi76D2hyGS2CfRclMdTW4SgdpVxs5626r67az57eQHKoERz6s7MzAv4HymIbSUs
 UH/+rXkIcMwdmjouF6L+/DdIwBSxW1iZAqHePbFbdBDEp2OFtu0+qeTxlg0W9GgK
 gTAYcOCWC8pa/UqxTDVcFORQLuuKnhBg85yuKm7pfEtzhsCkofOjpzpXHMYDDOOl
 lna/2B1N0qc1HBM4hmavfjxvcqmVcPk9task0eiYgtAdbZncmYb/QHzeLBbWqFjh
 rLjopYce9OOeJzD1abLR/iYuOGdvw8C6jouVA2unCUTCf+9FHtCY/Z4qpwKiX1+l
 IdfJtoEWoLLhBidYhAwGg0iDo/3txDDXOmULmIHaTLaPdZ74TKugtro7GQ90QNqL
 hUDSPWjObOHPBXpzn6vk2TM748yoVTOoUU8hv/7x//5UobprW8sG6w+vI42wicPR
 zpDNYgeIqKcDCBV5WksN
 =DDCQ
 -----END PGP SIGNATURE-----

Allow paircompare to work with attribute references and expansions.  Hopefully Fixes #1947

Arran Cudbard-Bell at 2017-07-25T18:00:02Z
Files modified:
	* src/main/modcall.c
	* src/main/parser.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e56048c98bfab25ae9453a52bbe6bcc02f20f515
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZd0/4AAoJEH0Oec13Yh7Npp0IAJipMZgdXo88RG8gOqgFlDNu
 vm8X03XmlgiYS1cWMHugIMswSahzu+BjCnMfSbSCBypgxDt/xLPSvDwaaIM//9nt
 +5ldGnKM6oJas+txu5uCSsseP8s6ZmJJjCdbJVvUBAOKjx4cQEZ9+ATMCMl5aSDW
 CsyrbnciU9xssV9CAAdtkvhc0m1QSZpwA5FUMspqe3B+jr8mmgKizt0acwsLHI41
 N/BPJ10k9ZJPt9l2qk8IoU/TfmoM1MAUljjqTuY/rg4SKZggftV9wZPN6sV73b/y
 npQY8w9rMREzxe9mhYLN18vJgx4PY8T/xYjnJwW9FJIf5857+qfhTQVXEWtX/GE=
 =MFk5
 -----END PGP SIGNATURE-----

don't re-open the file every time...

only open it when a new entry is created

Alan T. DeKok at 2017-07-25T14:04:40Z
Files modified:
	* src/main/exfile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/459b550d1fa21bffb7c1fa4f938085b25adb75d9
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZd0/4AAoJEH0Oec13Yh7N/9IIAJ9sebPRFTNTtjXoY85f74xA
 Rk98Q4Is3P7gVYwVkDDi9fYqfbsLBK6yqzlY4330zCXY7Ho18dEgBSbCZGsBtUFj
 gZuDqRT+rLdkjwji42DfaCgTHtOQP1m/wOgRneHH1XgPLI24R6I5179tO4nx9t0U
 wcQXovw+h3e1dk5JGT8my+PXmADVKtKli9HIA86xbBUEx+6LSTy1RY4VUjBYu60I
 paAtAyO8Pjx7pYS7KFuEJZoKwHy7lUrCv3rQsD439Ofw4hrxA50WGf5NPknXFvWi
 0mVFJvNcJ6+Rr7+DiSzoJf55+0y8WMCSvfRh7QqCkFsz6WU2VzXOetkdF18ZNdY=
 =P2L9
 -----END PGP SIGNATURE-----

FD may be -1 in entry

Alan T. DeKok at 2017-07-25T14:04:40Z
Files modified:
	* src/main/exfile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/583df03747733f2b032a0a959e43f0698289b1a1
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZd0/4AAoJEH0Oec13Yh7N1BQH/0WblPpJCBATH8lUyJIpVeEq
 tv/BiWCdr5Dj7pVHKFuQzfbhYV1Ykx/Bhdm9AZMhcKPgdnQqhddfS9dLujlHy+eg
 sALwntHrM/M4BZ8pmwIKOcZy1RtqbzVGs5SGBCtDXcDPz3qaZ7OJeZHLi2LBKlrL
 tUfnc/okz6Uciix9xhc1M/mHW3K6JnFBwMJSBtPVjP2000xP3Q+WOg9kccL2Cr9a
 rjj3klor2HLURCNNch/s445TrrfbjNgl+ADAT2ZY5PSIfdvXhE9R9V3kaN7fE58w
 XebqAOovmatyLhQS/8CCUCSN+aZU46fQlQmV/H2d09Qu6rT6gAkI7JS0ioEho3M=
 =YLMe
 -----END PGP SIGNATURE-----

we always append to the file

Alan T. DeKok at 2017-07-25T14:04:40Z
Files modified:
	* src/include/exfile.h
	* src/main/exfile.c
	* src/modules/rlm_detail/rlm_detail.c
	* src/modules/rlm_linelog/rlm_linelog.c
	* src/modules/rlm_sql/sql.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4d4b6ca9fcf0b86afc7f5fa54b27dbb4c26932ae
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZd0/4AAoJEH0Oec13Yh7NWsgIAIk3GP+kSVP9gjyHFlNJFW97
 1WLfL3W7KFx98QTXAdMi6RcySZByiqA1qzdMTNCZp+phqhLAlrMNo/afUo4V85SC
 KnxpbLAvXzd0rsKEV7niP9OTYJjg72NHqH26FdzNdbaLxUHqPTdGEDQJhx8+0REt
 Ra/6g0riYGhMg4PMgiW0mQYSqXJPNArLbhV+IZeflSXSUBFxITMC62rANoJ9zMHy
 Zb4ruvMyOwuvYMIFsoq0Ef+bZJjckPAkUdy5bnAfMXTdR41O6YuQvZ9wlE/ML+zN
 BMzkAfWGdptTOrT5CFp7tjt5FMZ250YPFLrW3SoG2k89eRPjK27HLc/Yf/brhHI=
 =y00l
 -----END PGP SIGNATURE-----

clean up exfile code.

If it's not locking, skip all of the management logic

Alan T. DeKok at 2017-07-25T14:04:40Z
Files modified:
	* src/main/exfile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/6cfa48dcd4e26687527fa3c3945922c567f2205e
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZd0/4AAoJEH0Oec13Yh7NNDoH/3ET182GLR3q3KqvaVETyuoX
 IbMTrvHmSqDpMLGhl9b84mja8Ra+2gBA3yG9WBsJGJBTGr5C5zJkcZGnD05zAbs1
 xdOCwWZv7Olp8M1avkRy5EYagz9pu6uWmp0zQNAEyiu0ysCLlUP7ThwELg2jK0fj
 Qj8OF9kXZa7VQ40+ddEs1377kbQOrQXnA68qrER9ETv9Dkxm19V8Xav4+YrLqg4U
 KJGHPIDIw2H8WI2hAxlBfPxoVaw1AQGVSaIyIITXg01Bi0PMdXmb4lfHiYh+nEgv
 Xi6RuWrLJhxuiffJFs4PDWjGDP/prPJNSAoxVojSSbbNnCOsSrbwG56W2ZMUAk4=
 =Vq3o
 -----END PGP SIGNATURE-----

remove exfile_unlock()

It was only used in the detail file, when the detail file
called fdopen().  The exfile API called dup() just so that the
detail module could call fclose() on the fdopen'd FILE pointer,
and not have the underlying FD close.

It's better to just have the detail module dup() the FD itself,
and leave the main FD unchanged

Alan T. DeKok at 2017-07-25T14:04:40Z
Files modified:
	* src/include/exfile.h
	* src/main/exfile.c
	* src/modules/rlm_detail/rlm_detail.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/49ac73ef427650a542632f3630618b42cc9dfdfe
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZd0/4AAoJEH0Oec13Yh7NGD8H/i+YbZS6Tkb9c9DCdDTpDs3G
 3Wfi6Ytxsjdd9TZUXg7Q0VRX9opHTRObjfyteAAyqpNpfGRtxgj8VFp6bBfxKIy+
 VAERPQDCt/oIwANTnkOaUATd5Z+uovpRmkR2c+pd1Ii6KENp/jE0SBx5Ct2o5YUG
 TV4fKQCXoUYwot9fOlbBFN9dUe+1BdQfPO4UoU5M8DE/6zwvPFENvYgZ5skyfG5G
 F7zU/xHqI/G6kbXSlBJkUeFK5j50nbBzmv9ICX6Ep4W2SpiKjdzO8EO0zQKuNsFT
 bDjkP3quyE1Ykse+REirYVVZYqV5LYRrpLYPzQn/OVZqfzb+2J7vXrymUeUTBfM=
 =x2BG
 -----END PGP SIGNATURE-----

remove dup().  It's not necessary

Alan T. DeKok at 2017-07-25T14:04:40Z
Files modified:
	* src/main/exfile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/57870c44e1b177e4ccd61b9b35824a3f609a6df0
====== 
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJZd0/4AAoJEH0Oec13Yh7NbhoH/3fGaF0VLmKjryK0me3hkgpZ
 PTT8N72xQdNM8UJFytbkA8Phv/6WGqzvFlUA9Ke15eqTy0q0zG7yLIN4EASRMEW+
 DkdprOgyhR0zPXoZVrdIzgEclk6rr+GtHLrZwUj/6KWBg1Ddi08NylvfuY8REa3N
 xeZYip+DdWOa3pwFGQNoGSxoX5FgH2icnjQGhRliAiKU6gWroqE6jSt/lVryeRkB
 V3U8ZMtpkWEPaVWYbMjOai6s9kaRRZRBafHqWnsZYhj2iZNdCjC76mnbrm6lafZx
 UwT6qj0akR7DuFO0ORv76K8Wq3/4C2ezaOB0/hnGOQENAbqd+SUAYVIE0iGvyM8=
 =iU0V
 -----END PGP SIGNATURE-----

re-lock on re-open

Alan T. DeKok at 2017-07-25T14:04:40Z
Files modified:
	* src/main/exfile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/019080e93623935249615e4721218eaa5a64a2b2
====== 
-- 
This commit summary was generated @2017-07-26T00:00:02Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list