Slashdot

News for nerds, stuff that matters

After Six Years Of Work and Over 360 Patches, Linux 7.2 Finally Removes Bug-Prone strncpy

Tech Times reports:

Linux 7.2's merge window closed out a cleanup campaign on Friday that most kernel developers had stopped expecting to see end: the complete removal of strncpy(), a C string-copy function that the kernel's own documentation labels "actively dangerous," from every subsystem, driver, and architecture-specific file in the kernel source tree.

The merge landed June 20, 2026. After around 362 commits spread across six years of incremental work, no call site using the function remained, and the function itself — including the last per-CPU-architecture optimized implementations — was struck from the source. The removal matters beyond housekeeping. strncpy() is a persistent source of a specific class of memory error: kernel buffers that contain sensitive data can leak bytes past an unterminated string boundary, a pattern that enables memory disclosure vulnerabilities. Eliminating the function from the tree removes that entire class from the kernel's attack surface — and, critically, makes strncpy() unavailable to any future contributor, turning a best-practice suggestion into an enforced policy.

Phoronix notes it's replaced by five different functions:


In place of strncpy, Linux kernel code should use strscpy() for NUL terminated destinations, strscpy_pad() for NUl-terminated destinations with zero-padding, strtomem_pad() for non-NUL-terminated fixed-width fields, memcpy_and_pad() for bounded copies with explicit padding, or memcpy() for known-length memory copies.


"The reason five functions were needed," explains Tech Times, "is that different parts of the kernel were using strncpy() for five semantically distinct memory operations — each with a different intent, different termination requirement, and different padding behavior. "



The original function obscured all of those differences under a single ambiguous name. The 362-commit campaign to replace it was, in effect, a codebase-wide audit that forced every call site to declare its actual intent in code That is an engineering outcome with lasting value: the kernel's string-handling semantics are now explicit where they were previously implicit, and future maintainers can read a function name and understand what a copy operation actually does.

Read more of this story at Slashdot.

US Bill Would Mandate AI Chip Location Tracking to Thwart China and Other Adversaries

NBC News reports:


A group of companies that specialize in tracking international shipments of sensitive technologies is backing a Capitol Hill bill that would require America's most powerful AI chips to incorporate stronger security mechanisms aimed at preventing the chips from reaching China and other adversaries. The letter, signed by six companies, says the Chip Security Act (CSA) would increase American chip companies' competitiveness and close key loopholes in the U.S. export control regime.

The move clashes with claims from semiconductor lobbying groups that the requirements would constrain America's booming chip industry. Sent to congressional leadership Thursday morning and seen by NBC News, the dispatch instead argues that more robust security verification would assure chip customers and manufacturers that they are abiding by sensitive restrictions on chip sales. The companies argue that the boosted confidence will "lead to increased sales, faster export approvals, larger transactions, greater access to new markets, and more expansive chip deals."

Despite U.S. export control laws banning sales of advanced AI chips to certain countries, including China, loopholes in current requirements have allowed billions of dollars' worth of America's best AI chips to be sold to entities in third-party countries that can then forward them to China. In just one case in March, the Justice Department charged three people with conspiring to forward $2.5 billion of AI chips to China. The CSA aims to address those loopholes, mandating that chip exporters better track where advanced chips are sent, via either bespoke location-verification hardware or software that can run on existing hardware. That, bill proponents claim, would ensure that sensitive chips could be sold to countries like Malaysia or Indonesia without fear of further transfer to China... Experts say that because chips perform the advanced computations required for frontier AI systems, cutting off access to the chips is crucial to prevent geopolitical rivals from using AI systems for military or economic purposes.

Read more of this story at Slashdot.

The Rust Ecosystem Gets an AI Security Engineer in Residence

While the Rust Foundation has a Security Initiative to protect its ecosystem, "the threats have expanded," they announced this week, "and so has the kind of help maintainers need."

Much of this comes back to a single shift: Automated tooling (much of it now built on large language models) has gotten good enough to surface real vulnerabilities in open source code quickly and at scale. That is useful, and several large Rust projects have already received and fixed credible issues found this way. The same tooling has also made it trivial to generate vulnerability reports that look plausible and are worthless. Maintainers across the ecosystem are losing real hours sorting these from the reports that matter, and the noise tends to bury the signal.

So, with funding from the Alpha-Omega Project, the Rust Foundation is bringing on a full-time AI Security Engineer in Residence dedicated to the Rust ecosystem. This position is being funded with part of the $12.5M in open source security funding that the Linux Foundation announced in March.
The role exists to take pressure off maintainers. The person in this position will use a mix of human-led and AI-assisted methods to proactively review Rust itself and the crates the ecosystem leans on most and help us separate real, exploitable issues from false positives and low-signal noise before anything reaches a maintainer...

This role will run full-time for six months to start, with room to extend depending on what we learn and the funding available. Methods, playbooks, and prompts will be documented so the work doesn't end with the contract. We are grateful that Rust is not embarking on this work in isolation. Several other ecosystems have received parallel Alpha-Omega grants for the same kind of work (e.g., the PHP Foundation and the Drupal Association) and we plan to share tooling, triage practices, and what we learn rather than duplicating work

A statement from Rust's new AI Security Engineer in Residence acknowledges that "One of our next challenges is the wave of bugs discovered by the next generation of AI-powered developer tools."

Read more of this story at Slashdot.

Rijnmond - Nieuws

Het laatste nieuws van vandaag over Rotterdam, Feyenoord, het verkeer en het weer in de regio Rijnmond

Dit stel rijdt twee keer per maand naar België om te tanken: ‘We zijn niet gierig, hoor’

De afgelopen maanden zijn de benzineprijzen flink gestegen. Aangezien tanken in België goedkoper is, rijdt de Oostvoornse Ray er twee keer per maand naartoe. “Het scheelt me 100 euro per keer.”

Dit vinden verschillende generaties Molukkers van het Landelijk Moluks Monument in Rotterdam: 'Geeft gevoel van erkenning'

Op de Lloydkade, waar in 1951 duizenden Molukkers voet aan wal zetten met de gedachte dat hun verblijf tijdelijk zou zijn, werd het Landelijk Moluks Monument Ulu Kora onthuld. Verschillende generaties waren aanwezig bij de plechtigheid op de kade, direct na de excuses van Premier Jetten. "Het monument voelt eigenlijk als thuis zijn."

VK: Voorpagina

Volkskrant.nl biedt het laatste nieuws, opinie en achtergronden

Oppermachtig Spanje snel klaar met Saoedi-Arabië • Danny Makkelie fluit Marokko-Haïti

Je kunt daar wel gaan staan zonder te hinderen. Toch ben je irritant

Het vertrek van Starmer lijkt onafwendbaar, maar het is de vraag of Andy Burnham het beter zou doen

Excuses Jetten aan Molukse gemeenschap zijn geen afsluiting, maar een eerste stapje: ‘Het raakte me wel’

Bevrijd van blessureleed loopt Niels Laros naar zege op FBK Games

The Guardian

Latest news, sport, business, comment, analysis and reviews from the Guardian, the world's leading liberal voice

US Open golf 2026: final round updates as Wyndham Clark starts with big lead – live

️ Updates from the final round’s play at Shinnecock Hills
Official leaderboard | Follow us on Instagram | Mail Scott

Joaquin Niemann might be the one to take advantage of the relatively benign conditions. Out in 33, the Chilean, much touted as a major champion in waiting, has subsequently birdied 10 and now 13 to move to four under for his round, and +1 overall. He’ll be cursing his opening round of 78, and that toddler’s tanty on the par-four 6th, at which he took 11 strokes. A septuple bogey! Two tee shots out of bounds, a back-and-forth with the referee in a doomed attempt to get relief from fire ants in the fescue, and a two-shot penalty for a coptered club. Oh Joaquin! He’s currently +1 for the tournament, and in theory, if we factor out the butterfly effect and linear nature of history, would now be just one off the pace sans meltdown. A lesson for all you kids out there: keep your cool, it pays in the long run. (Though it is fun to launch a club in a fit of pique. Well, it is. It might not be right but it is. I don’t write the rules.)

Ludvig Åberg birdies the last for a final round of 66. Another major championship of what-ifs for the young Swede, who it’s easy to forget is still only making his 11th major-championship appearance this week. He ends the week at +3 and is the new clubhouse leader. Some more proof that there’s a score out there for the chasing pack. Only problem being, it’s also out there for Wyndham Clark, and look at the 64 he shot on Thursday when the wind was down.

Continue reading...

Cerúndolo fights back in marathon three-hour Queen’s final to defeat Paul

  • Argentinian’s 6-7 (4), 6-4, 6-3 triumph biggest of his career

  • Gruelling match is the longest Queen’s Club final

All week at the Queen’s Club, Francisco Cerúndolo has had an unlikely guest in his players’ box: the No 10 Argentina shirt of Diego Maradona. And on the eve of the 40th anniversary of the Hand of God, Cerúndolo summoned tennis from the heavens to lift the biggest trophy of his career.

But after fending off the American Tommy Paul 6-7 (4), 6-4, 6-3 in an epic that lasted a record three hours and two minutes, Cerúndolo said he had been inspired by another of his heroes: his father, Alejandro, who had flown to London to see him win.

Continue reading...

Verleid landen van herkomst met beloningen om asielzoekers terug te nemen, zeggen kabinetsadviseurs

Landen waar veel asielzoekers vandaan komen, moeten worden verleid met voordelige ‘partnerschappen’, schrijven twee adviesorganen in een rapport dat maandag verschijnt. „Politiek, besef dat je duurzame, meer gelijkwaardige relaties moet aangaan.”


Op Pinkpop verdrijft The Cure alle zorgen over de hitte

Het warme weer op het driedaagse popfestival Pinkpop was pittig voor bezoekers en optredende acts. Gelukkig gebeurden er mooie muzikale dingen. Headliner The Cure maakte veel indruk en diverse popacts werden goed ontvangen.

De onderhandelingen over nieuwe colleges duren wéér langer. Hoe kan dat? En waarom is dat kwalijk?

Opnieuw duren de collegeonderhandelingen in gemeenten langer. Na dertien weken hebben slechts zes op de tien een coalitieakkoord. In plaatsen als Velsen, De Bilt, Rotterdam en Den Haag liepen onderhandelingen vast, onder meer door uitsluitingen van partijen en conflicten over asielopvang. „Politiek gezien is het landschap veel ingewikkelder geworden.”


In het onderwijs leeft nog steeds de vraag waarom de scholen in coronatijd zo lang gesloten moesten blijven

Kinderen en jongeren werden niet snel ziek van het coronavirus, maar liepen wel leerachterstanden en mentale schade op doordat het onderwijs tijdelijk werd gesloten. Waarom telde dat niet mee in de besluitvorming? Dat is de vraag die komende dagen op tafel ligt tijdens de parlementaire enquête.


Dat Jetten excuses zou aanbieden voor de behandeling van de eerste generatie Molukkers stond niet in het draaiboek: ‘Bijna te laat, maar fijn dat het er is’

Voorafgaand aan de inhuldiging van een nationaal monument voor Molukkers aan de Rotterdamse Lloydkade, maakte premier Rob Jetten zondag excuses, waarop lang was gehoopt. De erkenning is „heel erg nodig”, zeggen aanwezigen. „Ons leven is hier, het is goed, maar wel ver van ons eiland, hè?”

Rotterdam - FediMeteo (@rotterdam@nl.fedimeteo.com)

Weer voor de stad Rotterdam Deze bot wordt beheerd door het FediMeteo-project. Voor informatie en contact kunt u de pagina https://fedimeteo.com raadplegen.

Weer voor Rotterdam ☁️ - 21-06-2026 19:15 CEST...

Weer voor Rotterdam ☁️ - 21-06-2026 19:15 CEST

In één oogopslag:
• 28.3°C · Bewolkt ☁️ | Min 21.0°C / Max 29.4°C | Kans op neerslag 34%

Verwachting voor vandaag:
• Min 21.0°C, Max 29.4°C (Lichte motregen) 🌦️, Neerslag 0.1 mm, Kans op neerslag 34%, 🧭 1025.6 hPa ↗️ +0.9 hPa/24h, Windsnelheid: 18.0 km/u (5.0 m/s), richting: ↙ 39°

Uurlijkse voorspelling voor de komende 12 uur:

20:00: 27.9°C (Zonnig) ☀️, Kans op neerslag 2%, 🧭 1024.7 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 11.2 km/u (3.1 m/s), richting: ↓ 16°
21:00: 26.4°C (Gedeeltelijk bewolkt) ⛅, 🧭 1025.2 hPa ↗️ +0.5 hPa/1h, Windsnelheid: 14.8 km/u (4.1 m/s), richting: ↙ 47°
22:00: 24.4°C (Gedeeltelijk bewolkt) ⛅, 🧭 1026.1 hPa ↗️ +0.9 hPa/1h, Windsnelheid: 16.2 km/u (4.5 m/s), richting: ↙ 38°
23:00: 23.3°C (Bewolkt) ☁️, 🧭 1026.5 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 16.2 km/u (4.5 m/s), richting: ↙ 35°
00:00: 22.3°C (Helder) 🌕, 🧭 1026.8 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 17.3 km/u (4.8 m/s), richting: ↙ 40°
01:00: 21.4°C (Helder) 🌕, 🧭 1026.8 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 16.6 km/u (4.6 m/s), richting: ↙ 49°
02:00: 20.8°C (Helder) 🌕, 🧭 1026.6 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 15.5 km/u (4.3 m/s), richting: ↙ 42°
03:00: 20.3°C (Helder) 🌕, 🧭 1026.4 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 16.2 km/u (4.5 m/s), richting: ↙ 49°
04:00: 20.0°C (Licht bewolkt) 🌕, 🧭 1026.6 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 14.8 km/u (4.1 m/s), richting: ↙ 50°
05:00: 19.7°C (Gedeeltelijk bewolkt) ☁️, 🧭 1026.9 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 14.0 km/u (3.9 m/s), richting: ↙ 45°
06:00: 19.6°C (Bewolkt) ☁️, 🧭 1027.1 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 14.0 km/u (3.9 m/s), richting: ↙ 47°
07:00: 19.6°C (Bewolkt) ☁️, 🧭 1027.0 hPa ➡️ 0.0 hPa/1h, Windsnelheid: 15.5 km/u (4.3 m/s), richting: ↙ 49°

Voorspelling voor de komende dagen:

maandag 22 juni: Min 19.6°C, Max 28.7°C (Bewolkt) ☁️, 🧭 1026.2 hPa ↗️ +0.6 hPa/24h, Windsnelheid: 16.2 km/u (4.5 m/s), richting: ↙ 47°
dinsdag 23 juni: Min 18.7°C, Max 31.1°C (Bewolkt) ☁️, Kans op neerslag 2%, 🧭 1022.7 hPa ↘️ -3.5 hPa/24h, Windsnelheid: 14.0 km/u (3.9 m/s), richting: ← 72°
woensdag 24 juni: Min 20.9°C, Max 33.9°C (Bewolkt) ☁️, 🧭 1018.9 hPa ↘️ -3.8 hPa/24h, Windsnelheid: 9.4 km/u (2.6 m/s), richting: ↖ 145°
donderdag 25 juni: Min 25.1°C, Max 34.2°C (Bewolkt) ☁️, 🧭 1017.0 hPa ↘️ -1.9 hPa/24h, Windsnelheid: 12.5 km/u (3.5 m/s), richting: ← 96°
vrijdag 26 juni: Min 25.8°C, Max 36.6°C (Bewolkt) ☁️, Kans op neerslag 1%, 🧭 1013.7 hPa ↘️ -3.3 hPa/24h, Windsnelheid: 11.2 km/u (3.1 m/s), richting: ↑ 161°
zaterdag 27 juni: Min 24.1°C, Max 31.4°C (Bewolkt) ☁️, Kans op neerslag 11%, 🧭 1015.5 hPa ↗️ +1.8 hPa/24h, Windsnelheid: 11.5 km/u (3.2 m/s), richting: ↘ 299°

Details:
• 🌡️ Huidige temperatuur (om 19:15): 28.3°C (Bewolkt)
• 🤚 Gevoelstemperatuur: 28.9°C (+0.6°C)
• 💨 Windsnelheid: 11.2 km/u (3.1 m/s), richting: ↓ 351°
• 🌬️ Windstoten: 24.1 km/h (6.7 m/s)
• 💧 Luchtvochtigheid: 53%
• 🧭 Luchtdruk: 1024.7 hPa ↗️ +1.4 hPa/3h
• 👁️ Zichtbaarheid: 29.3 km
• ☀️ UV-index: 1.6
• 🌅 Zonsopgang: 05:22 · 🌇 Zonsondergang: 22:05

Luchtkwaliteit:
• AQI: 44 🟢 (Goed)
• PM2.5: 7.3 μg/m³
• PM10: 11.0 μg/m³

Gegevens geleverd door Open-Meteo



Wel.nl

Minder lezen, Meer weten.

Iraanse media: Iran verlaat gesprekslocatie na dreigement Trump

LUZERN (ANP/RTR/BLOOMBERG) - De Iraanse delegatie heeft in Zwitserland de locatie van de onderhandelingen met de Verenigde Staten verlaten, melden Iraanse persbureaus Tasnim en Fars op basis van bronnen. De Iraniërs zouden zijn vertrokken uit protest tegen het dreigement dat de Amerikaanse president Donald Trump tijdens de gesprekken uitte om Iran opnieuw aan te vallen.

Trump schreef op Truth Social dat Iran het Libanese Hezbollah in bedwang zou moeten houden en dat hij Iran anders weer zou aanvallen. Israël heeft Hezbollah beschuldigd van schendingen van een bestand, maar volgens Hezbollah is het juist Israël dat de afspraken negeert door door te gaan met grootschalige aanvallen op het zuiden van Libanon.

Een einde aan de Israëlische aanvallen is een harde eis voor Iran in de deal met de VS. Trump draait die eis nu om door naar Hezbollah te wijzen.

Het Iraanse onderhandelingsteam benadrukte tegen staatsmedia dat er niet over andere zaken kan worden onderhandeld zolang het geweld in Libanon aanhoudt.


Hezbollah-leider verwerpt Israëlische veiligheidszone in Libanon

BEIROET (ANP/AFP) - Hezbollah-leider Naim Qassem heeft het idee van een Israëlische veiligheidszone in Libanon verworpen. Eerder op zondag had de Israëlische premier Benjamin Netanyahu gezegd dat zijn troepen in het zuiden van het land zouden blijven "zolang dat nodig is".

"Het is onmogelijk dat Israëlische troepen op Libanese bodem blijven", zei Qassem in een televisietoespraak. "Er zijn geen veiligheidszones voor Israël. Libanon heeft een nationaal leger dat verantwoordelijk is voor het behoud van de soevereiniteit; met dat leger werken wij samen." Hij noemde Israël een "agressor die moet vertrekken".

Niets duidt erop dat Israël zich spoedig uit Libanon terugtrekt. "We zullen in de veiligheidszone in Zuid-Libanon blijven zolang dat nodig is om de dierbare inwoners van het noorden en alle burgers van Israël te beschermen", zei Netanyahu. "Niets zal die toezegging veranderen."